File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import assert from 'node:assert/strict' ;
22import { describe , it } from 'node:test' ;
33import * as three from 'three' ;
4- import {
4+ import inited , {
55 Brush ,
66 BrowserDocument ,
77 BrowserWindow ,
@@ -14,11 +14,10 @@ import {
1414 Screen ,
1515 Surface ,
1616 Tris ,
17- } from '../ts/index.ts' ;
18- import inited from './init.ts' ;
17+ } from './init.ts' ;
1918
2019type TClassParams = Readonly < {
21- screen : Screen ;
20+ screen : InstanceType < typeof Screen > ;
2221} > ;
2322
2423// oxlint-disable-next-line typescript/no-explicit-any
Original file line number Diff line number Diff line change @@ -79,7 +79,21 @@ const { doc } = inited;
7979const window = doc ;
8080const document = doc ;
8181
82- export const { Image } = core ;
82+ export const {
83+ Brush,
84+ BrowserDocument,
85+ BrowserWindow,
86+ Cloud,
87+ Drawable,
88+ gl,
89+ Image,
90+ Lines,
91+ Points,
92+ Rect,
93+ Screen,
94+ Surface,
95+ Tris,
96+ } = core ;
8397
8498export { doc , window , document } ;
8599
You can’t perform that action at this time.
0 commit comments