three-stdlib
three-stdlib copied to clipboard
[v2.9.1][typescript] I can't access to TextureNode
three0.139.2:@types/three0.139.0:three-stdlibversion : 2.9.1
Problem description:
It seems that all classes in nodes folder are inaccessibles in a typescript project
Relevant code:
Suggested solution:
When I look at the Node.js file in the nodes folder of the thre
e-stdlib folder in node_modules, I find the TextureNode class imported from ./accessors folder, but when I look into the Nodes.d.ts files the TextureNode is exported from an ./inputs folder which doesn't seem to exist.
The problem seems to be located in the threeJS typings :
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three/examples/jsm
The nodes folder is missing...
This should be fixed in @types/three 0.144 from https://github.com/three-types/three-ts-types/pull/240.