Skip to content

Commit

Permalink
Initial commit of @types
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Sep 22, 2024
1 parent 8a1d0c2 commit 2ffa8b8
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 0 deletions.
10 changes: 10 additions & 0 deletions @types/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
.idea
*.log
tmp/

node_modules/
npm-debug.log*
*.tsbuildinfo
.npm
.eslintcache
6 changes: 6 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

declare module 'codedown-languages' {
type SettingsItem =
"boolean"
| "string";
}
28 changes: 28 additions & 0 deletions @types/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions @types/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@types/codedown-languages",
"version": "1.0.0",
"description": "TypeScript definitions for codedown-languages",
"main": "",
"types": "index.d.ts",
"scripts": {
"test": "tsc"
},
"dependencies": {},
"devDependencies": {
"typescript": "^5.0.0"
}
}
14 changes: 14 additions & 0 deletions @types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": ["es6"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": ["index.d.ts"]
}

0 comments on commit 2ffa8b8

Please sign in to comment.