mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-02 22:07:06 +00:00
Merge pull request #25335 from DefinitelyTyped/add-html-tag-names
Add html-tag-names
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import htmlTagNames = require("html-tag-names");
|
||||
htmlTagNames.length; // => 147
|
||||
const firstNames: string[] = htmlTagNames.slice(0, 20);
|
||||
Vendored
+6
@@ -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;
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user