+ This is a dashboard that tracks the status of converting the + extension codebase from JavaScript to TypeScript. It is updated + whenever a new commit is pushed to the codebase, so it always + represents the current work. +
+ ++ Each box +
+ These boxes are further partitioned by level. The level of
+ a file is how many files you have to import before you reach that
+ file in the whole codebase. For instance, if we have a file{' '}
+ foo.js
, and that file imports bar.js
and{' '}
+ baz.js
, and baz.js
imports{' '}
+ qux.js
, then:
+
foo.js
would be at level 1
+ bar.js
and baz.js
would be at{' '}
+ level 2
+ qux.js
would be at level 3
+ + This level assignment can be used to determine a priority for + converting the remaining JavaScript files. Files which have fewer + dependencies should in theory be easier to convert, so files with a + higher level should be converted first. In other words,{' '} + + you should be able to start from the top and go down + + . +
+( + component: React.ComponentType
,
+ options: TooltipProps,
+ ): JSX.Element;
+}
diff --git a/types/react.d.ts b/types/react.d.ts
new file mode 100644
index 000000000..c7dd2b37d
--- /dev/null
+++ b/types/react.d.ts
@@ -0,0 +1,9 @@
+declare namespace React {
+ /* eslint-disable-next-line import/no-extraneous-dependencies */
+ import * as CSS from 'csstype';
+
+ // Add custom CSS properties so that they can be used in `style` props
+ export interface CSSProperties extends CSS.Properties