mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Merge pull request #25335 from DefinitelyTyped/add-html-tag-names
Add html-tag-names
This commit is contained in:
3
types/html-tag-names/html-tag-names-tests.ts
Normal file
3
types/html-tag-names/html-tag-names-tests.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import htmlTagNames = require("html-tag-names");
|
||||
htmlTagNames.length; // => 147
|
||||
const firstNames: string[] = htmlTagNames.slice(0, 20);
|
||||
6
types/html-tag-names/index.d.ts
vendored
Normal file
6
types/html-tag-names/index.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// Type definitions for html-tag-names 1.1
|
||||
// Project: https://github.com/wooorm/html-tag-names
|
||||
// Definitions by: Nathan Shively-Sanders <https://github.com/sandersn>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
declare const htmlTagNames: string[];
|
||||
export = htmlTagNames;
|
||||
23
types/html-tag-names/tsconfig.json
Normal file
23
types/html-tag-names/tsconfig.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"html-tag-names-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/html-tag-names/tslint.json
Normal file
1
types/html-tag-names/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user