From f5ce60a684b63dfaf850ac7c3afeac4f7e780d92 Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 14 Nov 2024 17:16:07 -0500 Subject: [PATCH] node -> Node in comments and documentation, see https://github.com/phetsims/scenery/issues/1661 --- js/eslint/config/util/phetSimBrowserGlobals.mjs | 1 + package.json | 1 + tsconfig/tsconfig-browser.json | 1 + 3 files changed, 3 insertions(+) diff --git a/js/eslint/config/util/phetSimBrowserGlobals.mjs b/js/eslint/config/util/phetSimBrowserGlobals.mjs index 30a47480..4c8d1a47 100644 --- a/js/eslint/config/util/phetSimBrowserGlobals.mjs +++ b/js/eslint/config/util/phetSimBrowserGlobals.mjs @@ -24,6 +24,7 @@ export const phetSimBrowserGlobalsObject = { assert: 'readonly', // allow assertions assertSlow: 'readonly', // allow slow assertions QueryStringMachine: 'readonly', + Fluent: 'readonly', _: 'readonly', // underscore, lodash $: 'readonly' // jQuery diff --git a/package.json b/package.json index a1ec2774..a89af198 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "@types/react": "~18.0.12", "@types/react-dom": "~18.0.5", "@types/three": "~0.137.0", + "@types/fluent": "~0.11.7", "@types/nopt": "~3.0.32", "@webgpu/types": "~0.1.34", "@typescript-eslint/eslint-plugin": "~8.13.0", diff --git a/tsconfig/tsconfig-browser.json b/tsconfig/tsconfig-browser.json index e4edcc8d..df48d86b 100644 --- a/tsconfig/tsconfig-browser.json +++ b/tsconfig/tsconfig-browser.json @@ -21,6 +21,7 @@ "../node_modules/@types/react/index.d.ts", "../node_modules/@types/react-dom/index.d.ts", "../node_modules/@types/three/index.d.ts", + "../node_modules/@types/fluent/index.d.ts", "../node_modules/@webgpu/types/dist/index.d.ts" ] } \ No newline at end of file