forked from FOSS/BangleApps
typescript: drop "use strict" generation
parent
685aedad41
commit
9767eb6594
|
@ -1,4 +1,3 @@
|
||||||
"use strict";
|
|
||||||
var __assign = Object.assign;
|
var __assign = Object.assign;
|
||||||
var Layout = require("Layout");
|
var Layout = require("Layout");
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"use strict";
|
|
||||||
(function () {
|
(function () {
|
||||||
var durationOnPause = "---";
|
var durationOnPause = "---";
|
||||||
var redrawInterval;
|
var redrawInterval;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"use strict";
|
|
||||||
(function (back) {
|
(function (back) {
|
||||||
var _a;
|
var _a;
|
||||||
var SETTINGS_FILE = "clkinfostopw.setting.json";
|
var SETTINGS_FILE = "clkinfostopw.setting.json";
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"use strict";
|
|
||||||
(function () {
|
(function () {
|
||||||
var icon = require('heatshrink').decompress(atob('ikggMAiEAgYIBmEAg4EB+EAh0AgPggEeCAIEBnwQBAgP+gEP//x///j//8f//k///H//4BYOP/4lBv4bDvwEB4EAvAEBwEAuA7DCAI7BgAQBhEAA'));
|
var icon = require('heatshrink').decompress(atob('ikggMAiEAgYIBmEAg4EB+EAh0AgPggEeCAIEBnwQBAgP+gEP//x///j//8f//k///H//4BYOP/4lBv4bDvwEB4EAvAEBwEAuA7DCAI7BgAQBhEAA'));
|
||||||
var iconWidth = 18;
|
var iconWidth = 18;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"use strict";
|
|
||||||
(function () {
|
(function () {
|
||||||
"ram";
|
"ram";
|
||||||
var _a;
|
var _a;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"emitDeclarationOnly": false,
|
"emitDeclarationOnly": false,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
|
"noImplicitUseStrict": true, // disable "use strict"
|
||||||
|
|
||||||
"newLine": "lf",
|
"newLine": "lf",
|
||||||
"noEmitHelpers": true, // we link to specific banglejs implementations
|
"noEmitHelpers": true, // we link to specific banglejs implementations
|
||||||
|
@ -35,7 +36,14 @@
|
||||||
"noImplicitOverride": true,
|
"noImplicitOverride": true,
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
"useUnknownInCatchVariables": 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
|
// simple type checking
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
|
|
Loading…
Reference in New Issue