fix autosize

This commit is contained in:
Paul van Brenk
2016-08-19 16:22:28 -07:00
parent d7e55bc17b
commit 8ba24e133d
3 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/// <reference path="autosize.d.ts" />
/// <reference types="autosize" />
// from a NodeList
autosize(document.querySelectorAll('textarea'));
+2 -3
View File
@@ -12,6 +12,5 @@ declare namespace autosize {
declare var autosize: autosize.AutosizeStatic;
declare module 'autosize' {
export = autosize;
}
export = autosize;
export as namespace autosize;
+19
View File
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": false,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"autosize-tests.ts"
]
}