작성
·
921
0
../../node_modules/@types/webgl2/index.d.ts:582:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'WebGL2RenderingContext' must be of type '{ new (): WebGL2RenderingContext; prototype: WebGL2RenderingContext; readonly ACTIVE_ATTRIBUTES: number; readonly ACTIVE_TEXTURE: number; ... 556 more ...; readonly WAIT_FAILED: number; }', but here has type '{ new (): WebGL2RenderingContext; prototype: WebGL2RenderingContext; readonly ACTIVE_ATTRIBUTES: number; readonly ACTIVE_TEXTURE: number;
... 557 more ...; readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number; }'.
582 declare var WebGL2RenderingContext: {
~~~~~~~~~~~~~~~~~~~~~~
../../AppData/Roaming/npm/node_modules/typescript/lib/lib.dom.d.ts:16394:13
16394 declare var WebGL2RenderingContext: {
~~~~~~~~~~~~~~~~~~~~~~
'WebGL2RenderingContext' was also declared here.
이러한 오류가 나네요.. 구글링해도 명확한 답이 안나와요ㅠ
답변 9
0
0
0
nest 해보려고 typescript 보는중인데 위와 같은 애러때문에 nest 가 실행이 안되네요. nest에다가 npm install @types/webgl2를 해도 안되서요
0
0
0
0
0
0