From 673d0301e327b32df17ea831bf0a37efc737379d Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Mon, 5 Mar 2018 20:31:04 +0100 Subject: [PATCH 1/6] chore(tsconfig): improve/sync all tsconfigs --- packages/boilerplate/tsconfig.json | 25 +++++++++++--------- packages/button/tsconfig.json | 25 +++++++++++--------- packages/checkbox/tsconfig.json | 25 +++++++++++--------- packages/chip-input/tsconfig.json | 25 +++++++++++--------- packages/components/tsconfig.json | 25 +++++++++++--------- packages/core/tsconfig.json | 38 ++++++++++++++---------------- packages/datepicker/tsconfig.json | 25 +++++++++++--------- packages/form/tsconfig.json | 25 +++++++++++--------- packages/grid/tsconfig.json | 25 +++++++++++--------- packages/icons/tsconfig.json | 25 +++++++++++--------- packages/input-info/tsconfig.json | 25 +++++++++++--------- packages/input/tsconfig.json | 25 +++++++++++--------- packages/list/tsconfig.json | 25 +++++++++++--------- packages/radio/tsconfig.json | 25 +++++++++++--------- packages/switch/tsconfig.json | 30 +++++++++++------------ packages/textarea/tsconfig.json | 25 +++++++++++--------- tsconfig.json | 23 ++++++++++-------- 17 files changed, 241 insertions(+), 200 deletions(-) diff --git a/packages/boilerplate/tsconfig.json b/packages/boilerplate/tsconfig.json index fd753255..54329089 100644 --- a/packages/boilerplate/tsconfig.json +++ b/packages/boilerplate/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/button/tsconfig.json b/packages/button/tsconfig.json index fd753255..54329089 100644 --- a/packages/button/tsconfig.json +++ b/packages/button/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/checkbox/tsconfig.json b/packages/checkbox/tsconfig.json index fd753255..54329089 100644 --- a/packages/checkbox/tsconfig.json +++ b/packages/checkbox/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/chip-input/tsconfig.json b/packages/chip-input/tsconfig.json index fd753255..54329089 100644 --- a/packages/chip-input/tsconfig.json +++ b/packages/chip-input/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index fd753255..54329089 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 442b9479..54329089 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,33 +1,31 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, + "lib": [ + "es2017", + "dom" + ], "module": "amd", - "rootDir": "src", - "outDir": "dist/test", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false, - "moduleResolution": "node", - "lib": ["es2017", "dom"] + "target": "es5" }, "exclude": [ ".vscode", "dist", "doc", "node_modules" - ], - "filesGlob": [ - "./src/**/*.ts", - "./test/**/*.ts", - "./custom_typings/**/*.d.ts" - ], - "atom": { - "rewriteTsconfig": false - } + ] } diff --git a/packages/datepicker/tsconfig.json b/packages/datepicker/tsconfig.json index fd753255..54329089 100644 --- a/packages/datepicker/tsconfig.json +++ b/packages/datepicker/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/form/tsconfig.json b/packages/form/tsconfig.json index fd753255..54329089 100644 --- a/packages/form/tsconfig.json +++ b/packages/form/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/grid/tsconfig.json b/packages/grid/tsconfig.json index fd753255..54329089 100644 --- a/packages/grid/tsconfig.json +++ b/packages/grid/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json index fd753255..54329089 100644 --- a/packages/icons/tsconfig.json +++ b/packages/icons/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/input-info/tsconfig.json b/packages/input-info/tsconfig.json index fd753255..54329089 100644 --- a/packages/input-info/tsconfig.json +++ b/packages/input-info/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/input/tsconfig.json b/packages/input/tsconfig.json index fd753255..54329089 100644 --- a/packages/input/tsconfig.json +++ b/packages/input/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/list/tsconfig.json b/packages/list/tsconfig.json index fd753255..54329089 100644 --- a/packages/list/tsconfig.json +++ b/packages/list/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/radio/tsconfig.json b/packages/radio/tsconfig.json index fd753255..54329089 100644 --- a/packages/radio/tsconfig.json +++ b/packages/radio/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/packages/switch/tsconfig.json b/packages/switch/tsconfig.json index acc10705..54329089 100644 --- a/packages/switch/tsconfig.json +++ b/packages/switch/tsconfig.json @@ -1,29 +1,27 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, - "filesGlob": [ - "./src/**/*.ts", - "./test/**/*.ts", - "./custom_typings/**/*.d.ts" - ], "exclude": [ ".vscode", "dist", diff --git a/packages/textarea/tsconfig.json b/packages/textarea/tsconfig.json index fd753255..54329089 100644 --- a/packages/textarea/tsconfig.json +++ b/packages/textarea/tsconfig.json @@ -1,23 +1,26 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "rootDir": "src", - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "rootDir": "src", + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", diff --git a/tsconfig.json b/tsconfig.json index 0948f5a4..ce8617a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,25 @@ { + "compileOnSave": false, "compilerOptions": { - "module": "amd", - "moduleResolution": "node", - "target": "es5", + "declaration": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, "lib": [ "es2017", "dom" ], - "outDir": "dist/test", + "module": "amd", + "moduleResolution": "node", "noImplicitAny": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, + "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedParameters": true, + "outDir": "dist/test", + "preserveConstEnums": true, + "skipLibCheck": true, "strictNullChecks": true, - "declaration": true, - "forceConsistentCasingInFileNames": true, - "experimentalDecorators": true, - "noEmitHelpers": false + "target": "es5" }, "exclude": [ ".vscode", From fc1938ca1d073e843eb917a4ad63fec32d9c01f0 Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Mon, 5 Mar 2018 22:18:08 +0100 Subject: [PATCH 2/6] chore(build): move/correct missing aurelia-binding types from ux-core to custom_typings --- .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../core/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../form/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../grid/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../icons/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../input/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../list/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../radio/custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ .../custom_typings/aurelia-binding.d.ts | 23 +++++++++++++++++++ .../custom_typings/aurelia-framework.d.ts | 5 ++++ 32 files changed, 448 insertions(+) create mode 100644 packages/boilerplate/custom_typings/aurelia-binding.d.ts create mode 100644 packages/boilerplate/custom_typings/aurelia-framework.d.ts create mode 100644 packages/button/custom_typings/aurelia-binding.d.ts create mode 100644 packages/button/custom_typings/aurelia-framework.d.ts create mode 100644 packages/checkbox/custom_typings/aurelia-binding.d.ts create mode 100644 packages/checkbox/custom_typings/aurelia-framework.d.ts create mode 100644 packages/chip-input/custom_typings/aurelia-binding.d.ts create mode 100644 packages/chip-input/custom_typings/aurelia-framework.d.ts create mode 100644 packages/components/custom_typings/aurelia-binding.d.ts create mode 100644 packages/components/custom_typings/aurelia-framework.d.ts create mode 100644 packages/core/custom_typings/aurelia-binding.d.ts create mode 100644 packages/core/custom_typings/aurelia-framework.d.ts create mode 100644 packages/datepicker/custom_typings/aurelia-binding.d.ts create mode 100644 packages/datepicker/custom_typings/aurelia-framework.d.ts create mode 100644 packages/form/custom_typings/aurelia-binding.d.ts create mode 100644 packages/form/custom_typings/aurelia-framework.d.ts create mode 100644 packages/grid/custom_typings/aurelia-binding.d.ts create mode 100644 packages/grid/custom_typings/aurelia-framework.d.ts create mode 100644 packages/icons/custom_typings/aurelia-binding.d.ts create mode 100644 packages/icons/custom_typings/aurelia-framework.d.ts create mode 100644 packages/input-info/custom_typings/aurelia-binding.d.ts create mode 100644 packages/input-info/custom_typings/aurelia-framework.d.ts create mode 100644 packages/input/custom_typings/aurelia-binding.d.ts create mode 100644 packages/input/custom_typings/aurelia-framework.d.ts create mode 100644 packages/list/custom_typings/aurelia-binding.d.ts create mode 100644 packages/list/custom_typings/aurelia-framework.d.ts create mode 100644 packages/radio/custom_typings/aurelia-binding.d.ts create mode 100644 packages/radio/custom_typings/aurelia-framework.d.ts create mode 100644 packages/switch/custom_typings/aurelia-binding.d.ts create mode 100644 packages/switch/custom_typings/aurelia-framework.d.ts create mode 100644 packages/textarea/custom_typings/aurelia-binding.d.ts create mode 100644 packages/textarea/custom_typings/aurelia-framework.d.ts diff --git a/packages/boilerplate/custom_typings/aurelia-binding.d.ts b/packages/boilerplate/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/boilerplate/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/boilerplate/custom_typings/aurelia-framework.d.ts b/packages/boilerplate/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/boilerplate/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/button/custom_typings/aurelia-binding.d.ts b/packages/button/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/button/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/button/custom_typings/aurelia-framework.d.ts b/packages/button/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/button/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/checkbox/custom_typings/aurelia-binding.d.ts b/packages/checkbox/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/checkbox/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/checkbox/custom_typings/aurelia-framework.d.ts b/packages/checkbox/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/checkbox/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/chip-input/custom_typings/aurelia-binding.d.ts b/packages/chip-input/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/chip-input/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/chip-input/custom_typings/aurelia-framework.d.ts b/packages/chip-input/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/chip-input/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/components/custom_typings/aurelia-binding.d.ts b/packages/components/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/components/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/components/custom_typings/aurelia-framework.d.ts b/packages/components/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/components/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/core/custom_typings/aurelia-binding.d.ts b/packages/core/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/core/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/core/custom_typings/aurelia-framework.d.ts b/packages/core/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/core/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/datepicker/custom_typings/aurelia-binding.d.ts b/packages/datepicker/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/datepicker/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/datepicker/custom_typings/aurelia-framework.d.ts b/packages/datepicker/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/datepicker/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/form/custom_typings/aurelia-binding.d.ts b/packages/form/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/form/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/form/custom_typings/aurelia-framework.d.ts b/packages/form/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/form/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/grid/custom_typings/aurelia-binding.d.ts b/packages/grid/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/grid/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/grid/custom_typings/aurelia-framework.d.ts b/packages/grid/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/grid/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/icons/custom_typings/aurelia-binding.d.ts b/packages/icons/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/icons/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/icons/custom_typings/aurelia-framework.d.ts b/packages/icons/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/icons/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/input-info/custom_typings/aurelia-binding.d.ts b/packages/input-info/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/input-info/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/input-info/custom_typings/aurelia-framework.d.ts b/packages/input-info/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/input-info/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/input/custom_typings/aurelia-binding.d.ts b/packages/input/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/input/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/input/custom_typings/aurelia-framework.d.ts b/packages/input/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/input/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/list/custom_typings/aurelia-binding.d.ts b/packages/list/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/list/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/list/custom_typings/aurelia-framework.d.ts b/packages/list/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/list/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/radio/custom_typings/aurelia-binding.d.ts b/packages/radio/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/radio/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/radio/custom_typings/aurelia-framework.d.ts b/packages/radio/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/radio/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/switch/custom_typings/aurelia-binding.d.ts b/packages/switch/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/switch/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/switch/custom_typings/aurelia-framework.d.ts b/packages/switch/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/switch/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} diff --git a/packages/textarea/custom_typings/aurelia-binding.d.ts b/packages/textarea/custom_typings/aurelia-binding.d.ts new file mode 100644 index 00000000..df82b847 --- /dev/null +++ b/packages/textarea/custom_typings/aurelia-binding.d.ts @@ -0,0 +1,23 @@ +import { InternalPropertyObserver } from 'aurelia-binding'; + +declare module 'aurelia-binding' { + class InternalPropertyObserverImpl implements InternalPropertyObserver { + public getValue(): any; + public setValue(newValue: any): void; + public handleEvent(): any; + public subscribe(callback: (newValue: any, oldValue: any) => void): void; + public subscribe(context: any, callable: Callable): void; + public unsubscribe(callback: (newValue: any, oldValue: any) => void): void; + public unsubscribe(context: any, callable: Callable): void; + } + + export declare class CheckedObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } + export declare class ValueAttributeObserver extends InternalPropertyObserverImpl { + constructor(element: Element, propertyName: string, handler: ObserverEventHandler); + } + export declare class SelectValueObserver extends InternalPropertyObserverImpl { + constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator); + } +} diff --git a/packages/textarea/custom_typings/aurelia-framework.d.ts b/packages/textarea/custom_typings/aurelia-framework.d.ts new file mode 100644 index 00000000..af59eccf --- /dev/null +++ b/packages/textarea/custom_typings/aurelia-framework.d.ts @@ -0,0 +1,5 @@ +import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding'; + +declare module 'aurelia-framework' { + export { CheckedObserver, ValueAttributeObserver, SelectValueObserver }; +} From be494d90c3b7ad2cb2df1dcca57fa08512230a78 Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Mon, 5 Mar 2018 22:45:47 +0100 Subject: [PATCH 3/6] fix(all): add missing imports/exports --- packages/button/src/index.ts | 1 + packages/checkbox/src/index.ts | 1 + packages/chip-input/src/index.ts | 3 +++ packages/components/src/index.ts | 12 ++++++------ packages/datepicker/src/index.ts | 3 +++ packages/form/src/index.ts | 3 +++ packages/grid/src/index.ts | 1 + packages/icons/src/index.ts | 1 + packages/input-info/src/index.ts | 1 + packages/list/src/index.ts | 2 ++ 10 files changed, 22 insertions(+), 6 deletions(-) diff --git a/packages/button/src/index.ts b/packages/button/src/index.ts index d849c6ca..95c205e8 100644 --- a/packages/button/src/index.ts +++ b/packages/button/src/index.ts @@ -1,6 +1,7 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxButtonTheme } from './ux-button-theme'; +export { UxButton } from './ux-button'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/checkbox/src/index.ts b/packages/checkbox/src/index.ts index 2e1b3690..ce5d6d57 100644 --- a/packages/checkbox/src/index.ts +++ b/packages/checkbox/src/index.ts @@ -2,6 +2,7 @@ import { FrameworkConfiguration, PLATFORM, bindingMode, ObserverLocator, Checked import { AureliaUX } from '@aurelia-ux/core'; export { UxCheckboxTheme } from './ux-checkbox-theme'; +export { UxCheckbox, UxCheckboxElement } from './ux-checkbox'; export function configure(config: FrameworkConfiguration) { config.container.get(AureliaUX).registerUxElementConfig(uxCheckBoxConfig); diff --git a/packages/chip-input/src/index.ts b/packages/chip-input/src/index.ts index 3197dd8a..e9961ae6 100644 --- a/packages/chip-input/src/index.ts +++ b/packages/chip-input/src/index.ts @@ -3,6 +3,9 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxChipInputTheme } from './ux-chip-input-theme'; export { UxTagTheme } from './ux-tag-theme'; export { UxChipTheme } from './ux-chip-theme'; +export { UxChipInput } from './ux-chip-input'; +export { UxChip } from './ux-chip'; +export { UxTag } from './ux-tag'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/components/src/index.ts b/packages/components/src/index.ts index 844fd793..fce4f114 100644 --- a/packages/components/src/index.ts +++ b/packages/components/src/index.ts @@ -1,14 +1,14 @@ import { FrameworkConfiguration } from 'aurelia-framework'; -export { UxButtonTheme } from '@aurelia-ux/button'; +export { UxButtonTheme, UxButton } from '@aurelia-ux/button'; export { UxCheckboxTheme, UxCheckbox, UxCheckboxElement } from '@aurelia-ux/checkbox'; -export { UxChipInputTheme, UxChipTheme, UxTagTheme } from '@aurelia-ux/chip-input'; +export { UxChipInputTheme, UxChipTheme, UxTagTheme, UxChipInput, UxChip, UxTag } from '@aurelia-ux/chip-input'; export { UxGridTheme, UxResponsiveUtilities } from '@aurelia-ux/grid'; -export { UxDatepickerTheme } from '@aurelia-ux/datepicker'; -export { UxFormTheme } from '@aurelia-ux/form'; +export { UxDatepickerTheme, UxCalendar, DatepickerSettings, UxPickerDialog, UxYearList } from '@aurelia-ux/datepicker'; +export { UxFormTheme, UxField, UxForm, UxSubmitCustomAttribute } from '@aurelia-ux/form'; export { UxInputTheme, UxInput, UxInputElement } from '@aurelia-ux/input'; -export { UxInputInfoTheme } from '@aurelia-ux/input-info'; -export { UxListTheme } from '@aurelia-ux/list'; +export { UxInputInfoTheme, UxInputInfo } from '@aurelia-ux/input-info'; +export { UxListTheme, UxList, UxListItem } from '@aurelia-ux/list'; export { UxRadioTheme, UxRadio, UxRadioElement } from '@aurelia-ux/radio'; export { UxTextAreaTheme, UxTextArea, UxTextAreaElement } from '@aurelia-ux/textarea'; export { UxSwitchTheme, UxSwitch, UxSwitchElement } from '@aurelia-ux/switch'; diff --git a/packages/datepicker/src/index.ts b/packages/datepicker/src/index.ts index 2e36c386..b09efc33 100644 --- a/packages/datepicker/src/index.ts +++ b/packages/datepicker/src/index.ts @@ -3,6 +3,9 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { DatepickerSettings } from './resources/datepicker-settings'; export { UxDatepickerTheme } from './ux-datepicker-theme'; +export { UxCalendar } from './ux-calendar'; +export { UxPickerDialog } from './ux-picker-dialog'; +export { UxYearList } from './ux-year-list'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/form/src/index.ts b/packages/form/src/index.ts index 9e9203a4..5f1b672c 100644 --- a/packages/form/src/index.ts +++ b/packages/form/src/index.ts @@ -1,6 +1,9 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxFormTheme } from './ux-form-theme'; +export { UxField } from './ux-field'; +export { UxForm } from './ux-form'; +export { UxSubmitCustomAttribute } from './ux-submit-attribute'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/grid/src/index.ts b/packages/grid/src/index.ts index 26334564..3c7bcfae 100644 --- a/packages/grid/src/index.ts +++ b/packages/grid/src/index.ts @@ -2,6 +2,7 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxResponsiveUtilities } from './ux-responsive-utilities'; export { UxGridTheme } from './ux-grid-theme'; +export { UxGrid } from './ux-grid'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts index 1954656f..1b6728a2 100644 --- a/packages/icons/src/index.ts +++ b/packages/icons/src/index.ts @@ -1,6 +1,7 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxIconTheme } from './ux-icon-theme'; +export { UxIcon } from './ux-icon'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/input-info/src/index.ts b/packages/input-info/src/index.ts index 71f495cb..bafe19b1 100644 --- a/packages/input-info/src/index.ts +++ b/packages/input-info/src/index.ts @@ -1,6 +1,7 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxInputInfoTheme } from './ux-input-info-theme'; +export { UxInputInfo } from './ux-input-info'; export function configure(config: FrameworkConfiguration) { config.globalResources([ diff --git a/packages/list/src/index.ts b/packages/list/src/index.ts index cdb94d82..aade01e4 100644 --- a/packages/list/src/index.ts +++ b/packages/list/src/index.ts @@ -1,6 +1,8 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework'; export { UxListTheme } from './ux-list-theme'; +export { UxListItem } from './ux-list-item'; +export { UxList } from './ux-list'; export function configure(config: FrameworkConfiguration) { config.globalResources([ From 6801d533902cd4f605ff006958e6f14dbc27b362 Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Mon, 5 Mar 2018 23:02:26 +0100 Subject: [PATCH 4/6] chore(tsconfig): revert unnecessary tsconfig changes --- packages/boilerplate/tsconfig.json | 3 +-- packages/button/tsconfig.json | 3 +-- packages/checkbox/tsconfig.json | 3 +-- packages/chip-input/tsconfig.json | 3 +-- packages/components/tsconfig.json | 3 +-- packages/core/tsconfig.json | 3 +-- packages/datepicker/tsconfig.json | 3 +-- packages/form/tsconfig.json | 3 +-- packages/grid/tsconfig.json | 3 +-- packages/icons/tsconfig.json | 3 +-- packages/input-info/tsconfig.json | 3 +-- packages/input/tsconfig.json | 3 +-- packages/list/tsconfig.json | 3 +-- packages/radio/tsconfig.json | 3 +-- packages/switch/tsconfig.json | 3 +-- packages/textarea/tsconfig.json | 3 +-- 16 files changed, 16 insertions(+), 32 deletions(-) diff --git a/packages/boilerplate/tsconfig.json b/packages/boilerplate/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/boilerplate/tsconfig.json +++ b/packages/boilerplate/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/button/tsconfig.json b/packages/button/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/button/tsconfig.json +++ b/packages/button/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/checkbox/tsconfig.json b/packages/checkbox/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/checkbox/tsconfig.json +++ b/packages/checkbox/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/chip-input/tsconfig.json b/packages/chip-input/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/chip-input/tsconfig.json +++ b/packages/chip-input/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/datepicker/tsconfig.json b/packages/datepicker/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/datepicker/tsconfig.json +++ b/packages/datepicker/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/form/tsconfig.json b/packages/form/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/form/tsconfig.json +++ b/packages/form/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/grid/tsconfig.json b/packages/grid/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/grid/tsconfig.json +++ b/packages/grid/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/icons/tsconfig.json +++ b/packages/icons/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/input-info/tsconfig.json b/packages/input-info/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/input-info/tsconfig.json +++ b/packages/input-info/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/input/tsconfig.json b/packages/input/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/input/tsconfig.json +++ b/packages/input/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/list/tsconfig.json b/packages/list/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/list/tsconfig.json +++ b/packages/list/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/radio/tsconfig.json b/packages/radio/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/radio/tsconfig.json +++ b/packages/radio/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/switch/tsconfig.json b/packages/switch/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/switch/tsconfig.json +++ b/packages/switch/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, diff --git a/packages/textarea/tsconfig.json b/packages/textarea/tsconfig.json index 54329089..ca16e89b 100644 --- a/packages/textarea/tsconfig.json +++ b/packages/textarea/tsconfig.json @@ -13,10 +13,9 @@ "moduleResolution": "node", "noImplicitAny": true, "noImplicitReturns": true, - "noUnusedLocals": false, // until this false positive problem is fixed: https://github.com/Microsoft/TypeScript/issues/19700 + "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "dist/test", - "preserveConstEnums": true, "rootDir": "src", "skipLibCheck": true, "strictNullChecks": true, From daf889e67af0601b3c7a007270b5f14e9c81c450 Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Mon, 5 Mar 2018 23:26:53 +0100 Subject: [PATCH 5/6] fix(ux-core): remove extension.ts (replaced with custom_typings) --- packages/core/src/extension.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 packages/core/src/extension.ts diff --git a/packages/core/src/extension.ts b/packages/core/src/extension.ts deleted file mode 100644 index 23531265..00000000 --- a/packages/core/src/extension.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { - InternalPropertyObserver -} from 'aurelia-binding'; - -declare module 'aurelia-binding' { - // tslint:disable-next-line:no-empty-interface - export interface CheckedObserver extends InternalPropertyObserver {} - - export interface ValueAttributeObserver extends InternalPropertyObserver {} - - export interface SelectValueObserver extends InternalPropertyObserver {} -} From 1cc4dac95bf7c06a60fa44990230b41d61c8e641 Mon Sep 17 00:00:00 2001 From: Fred Kleuver Date: Tue, 6 Mar 2018 02:05:58 +0100 Subject: [PATCH 6/6] chore(tslint): slight explicity tweaks in tslint.json --- tslint.json | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/tslint.json b/tslint.json index b96006a0..c196065e 100644 --- a/tslint.json +++ b/tslint.json @@ -1,19 +1,23 @@ { "extends": "tslint:latest", "rules": { - "only-arrow-functions": false, - "quotemark": [true, "single"], - "object-literal-sort-keys": false, - "ordered-imports": [false], - "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"], + "array-type": [true, "array-simple"], + "arrow-parens": false, "interface-name": [true, "never-prefix"], + "max-classes-per-file": [false], + "member-access": true, + "member-ordering": [true, "fields-first"], + "no-floating-promises": true, "no-shadowed-variable": false, "no-string-literal": false, + "object-literal-sort-keys": false, + "only-arrow-functions": false, + "ordered-imports": [false], + "prefer-for-of": false, + "prefer-object-spread": true, + "quotemark": [true, "single"], "trailing-comma": [false], - "member-ordering": ["fields-first"], - "array-type": ["array-simple"], - "arrow-parens": false, - "max-classes-per-file": [false], - "prefer-for-of": false + "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"], + "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"] } }