Skip to content

Commit

Permalink
Typescript types (.d.ts) (Fixes #222)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsolorio committed Aug 5, 2024
1 parent fd84b31 commit 5028ff7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ You can choose which icons to use from the [Library](https://www.figma.com/file/
|terraform|![terraform](preview/files/terraform.png)|
|tex|![tex](preview/files/tex.png)|
|text|![text](preview/files/text.png)|
|ts-types|![ts-test](preview/files/ts-types.png)|
|ts-test|![ts-test](preview/files/ts-test.png)|
|ts|![ts](preview/files/ts.png)|
|tsconfig|![tsconfig](preview/files/tsconfig.png)|
Expand Down
Binary file added preview/files/ts-types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/files/ts-types.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/symbol-icon-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"js-test": { "iconPath": "./icons/files/js-test.svg" },
"ts": { "iconPath": "./icons/files/ts.svg" },
"ts-test": { "iconPath": "./icons/files/ts-test.svg" },
"ts-types": { "iconPath": "./icons/files/ts-types.svg" },
"dts": { "iconPath": "./icons/files/dts.svg" },
"robot": { "iconPath": "./icons/files/robot.svg" },
"text": { "iconPath": "./icons/files/text.svg" },
Expand Down Expand Up @@ -265,6 +266,9 @@
},

"fileExtensions": {
"d.ts": "ts-types",
"d.cts": "ts-types",
"d.mts": "ts-types",
"mcfunction": "minecraft",
"mcmeta": "minecraft",
"mcworld": "minecraft",
Expand Down

0 comments on commit 5028ff7

Please sign in to comment.