This commit is contained in:
2022-01-21 20:09:04 +00:00
parent 9cae88a433
commit 3043853499
2 changed files with 4 additions and 1 deletions

View File

@@ -846,4 +846,6 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE
- Report render timeout showed stack trace instead of proper error message due to changes at the back end, fixed
- Client error log changed first column from epoch timestamp to local time instead so easier to troubleshoot with users as it's their own time and date easily readable
- Changed "Scheduleable user notes" to "Service tech notes" in all stock translations
- case 4084 fixed Intl.DateTimeFormat... reference issues in my code, and also see notes on how to fix remaining regular javascript issues for each report
- TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html

View File

@@ -561,7 +561,7 @@ export default {
diagnosticCodesToIgnore: [2393, 7044] //2393 hides a weird error about ayPrepareData being declared more than once which I think is more related to it being barebones in there, 7044 hides a useless prompt about ayData parameter not being strongly typed
});
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.ES6,
target: monaco.languages.typescript.ScriptTarget.ES2020,
allowNonTsExtensions: true
});
monaco.languages.typescript.javascriptDefaults.addExtraLib(
@@ -572,6 +572,7 @@ export default {
"export declare global function ayGetFromAPI(route:string,token?:string): promise<object>;",
"export declare global function ayPostToAPI(route:string,data?:object,token?:string): promise<result:object>;",
"export declare global function ayGetTranslations(keys:Array): promise<void>;",
"export declare global declare namespace AYMETA {export const ayClientMetaData; }",
"export declare global declare namespace Handlebars {export function registerHelper(name: string, fn: HelperDelegate): void; export function registerHelper(name: HelperDeclareSpec): void;}"
].join("\n"),
"filename/facts.d.ts"