mirror of https://github.com/espruino/BangleApps
typescript: drop "use strict" generation
parent
685aedad41
commit
9767eb6594
|
@ -1,4 +1,3 @@
|
|||
"use strict";
|
||||
var __assign = Object.assign;
|
||||
var Layout = require("Layout");
|
||||
Bangle.loadWidgets();
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
"use strict";
|
||||
(function () {
|
||||
var durationOnPause = "---";
|
||||
var redrawInterval;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
"use strict";
|
||||
(function (back) {
|
||||
var _a;
|
||||
var SETTINGS_FILE = "clkinfostopw.setting.json";
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
"use strict";
|
||||
(function () {
|
||||
var icon = require('heatshrink').decompress(atob('ikggMAiEAgYIBmEAg4EB+EAh0AgPggEeCAIEBnwQBAgP+gEP//x///j//8f//k///H//4BYOP/4lBv4bDvwEB4EAvAEBwEAuA7DCAI7BgAQBhEAA'));
|
||||
var iconWidth = 18;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
"use strict";
|
||||
(function () {
|
||||
"ram";
|
||||
var _a;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"declaration": false,
|
||||
"emitDeclarationOnly": false,
|
||||
"removeComments": true,
|
||||
"noImplicitUseStrict": true, // disable "use strict"
|
||||
|
||||
"newLine": "lf",
|
||||
"noEmitHelpers": true, // we link to specific banglejs implementations
|
||||
|
@ -35,7 +36,14 @@
|
|||
"noImplicitOverride": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"useUnknownInCatchVariables": true,
|
||||
"strict": true,
|
||||
//"strict": true, // can't have this with noImplicitUseStrict, instead:
|
||||
"strictNullChecks": true,
|
||||
"strictBindCallApply": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictPropertyInitialization": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"useUnknownInCatchVariables": true,
|
||||
|
||||
// simple type checking
|
||||
"noUnusedLocals": true,
|
||||
|
|
Loading…
Reference in New Issue