Skip to content

🎥 Make videos programmatically with React

example: don't break types when getting an autocomplete

Jonny Burger630bc7f60695
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index b239a64ceb..fb8c4c52c6 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -1,3 +1,6 @@
+// @ts-expect-error no types
+import styles from './styles.module.scss';
+
import {alias} from 'lib/alias';
import React, {useCallback, useMemo} from 'react';
import {
@@ -109,9 +112,6 @@ if (alias !== 'alias') {
const INCLUDE_COMP_BREAKING_GET_COMPOSITIONS = false;
-// @ts-expect-error no types
-import styles from './styles.module.scss';
-
class Vector2 {
readonly x: number;
readonly y: number;