Skip to content

Commit 88c436a

Browse files
committed
type safety
1 parent fe38d23 commit 88c436a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Application.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
useContextBridge,
44
} from 'its-fine';
55
import {
6+
type ExtensionFormat,
67
type Application as PixiApplication,
78
extensions as PixiExtensions,
89
TextStyle,
@@ -45,7 +46,7 @@ const ApplicationImplementation = forwardRef<ApplicationRef, ApplicationProps>(f
4546

4647
const applicationRef: RefObject<PixiApplication | null> = useRef(null);
4748
const canvasRef = useRef<HTMLCanvasElement>(null);
48-
const extensionsRef = useRef<Set<any>>(new Set());
49+
const extensionsRef = useRef<Set<ExtensionFormat>>(new Set());
4950

5051
useImperativeHandle(forwardedRef, () => ({
5152
getApplication()

0 commit comments

Comments
 (0)