Added new types for html5plus (#33572)

* Added new types for html5plus

* change tslint rules for types/html5plus

* change types for html5plus
This commit is contained in:
折腾笔记 2019-03-07 02:15:57 +08:00 committed by Nathan Shively-Sanders
parent 02727da700
commit d2b667e02b
4 changed files with 15504 additions and 0 deletions

View File

@ -0,0 +1,2 @@
const webview = plus.webview.currentWebview();
const style = webview.getStyle();

15472
types/html5plus/index.d.ts vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"html5plus-tests.ts"
]
}

View File

@ -0,0 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
"max-line-length": false,
"no-trailing-whitespace": false
}
}