mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Add 'html-void-elements' package
This commit is contained in:
parent
3cafa3ebdd
commit
fe7d82324d
3
types/html-void-elements/html-void-elements-tests.ts
Normal file
3
types/html-void-elements/html-void-elements-tests.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import voidElements = require('html-void-elements');
|
||||
|
||||
voidElements.indexOf('br');
|
||||
7
types/html-void-elements/index.d.ts
vendored
Normal file
7
types/html-void-elements/index.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
// Type definitions for html-void-elements 1.0
|
||||
// Project: https://github.com/wooorm/html-void-elements
|
||||
// Definitions by: rhysd <https://github.com/rhysd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare const TagNames: string[];
|
||||
export = TagNames;
|
||||
23
types/html-void-elements/tsconfig.json
Normal file
23
types/html-void-elements/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-void-elements-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/html-void-elements/tslint.json
Normal file
1
types/html-void-elements/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user