Skip to content

Commit e410e1d

Browse files
authored
Fix imports (#1019)
1 parent ea8c35a commit e410e1d

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

types/three/examples/jsm/renderers/common/SampledTexture.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Texture } from "three/src/Three.js";
2-
import Binding from "./Binding";
1+
import { Texture } from "three";
2+
import Binding from "./Binding.js";
33

44
declare class SampledTexture extends Binding {
55
id: number;

types/three/examples/jsm/renderers/common/Sampler.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import TextureNode from "../../nodes/accessors/TextureNode";
2-
import Binding from "./Binding";
1+
import TextureNode from "../../nodes/accessors/TextureNode.js";
2+
import Binding from "./Binding.js";
33

44
declare class Sampler extends Binding {
55
texture: TextureNode | null;

types/three/examples/jsm/renderers/webgpu/nodes/WGSLNodeBuilder.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Texture } from "three/src/Three.js";
2-
import { NodeShaderStage } from "../../../nodes/core/constants";
3-
import NodeBuilder from "../../../nodes/core/NodeBuilder";
4-
import NodeVar from "../../../nodes/core/NodeVar";
5-
import StructTypeNode from "../../../nodes/core/StructTypeNode";
6-
import { NodeUniform } from "../../../nodes/Nodes";
7-
import { ShaderNode } from "../../../nodes/shadernode/ShaderNode";
8-
import NodeUniformsGroup from "../../common/nodes/NodeUniformsGroup";
1+
import { Texture } from "three";
2+
import { NodeShaderStage } from "../../../nodes/core/constants.js";
3+
import NodeBuilder from "../../../nodes/core/NodeBuilder.js";
4+
import NodeUniform from "../../../nodes/core/NodeUniform.js";
5+
import NodeVar from "../../../nodes/core/NodeVar.js";
6+
import StructTypeNode from "../../../nodes/core/StructTypeNode.js";
7+
import { ShaderNode } from "../../../nodes/shadernode/ShaderNode.js";
8+
import NodeUniformsGroup from "../../common/nodes/NodeUniformsGroup.js";
99

1010
type BuiltinStage = NodeShaderStage | "attribute" | "output";
1111
interface BuiltinType {

types/three/examples/jsm/renderers/webgpu/nodes/WGSLNodeFunction.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import NodeFunction from "../../../nodes/core/NodeFunction";
1+
import NodeFunction from "../../../nodes/core/NodeFunction.js";
22

33
export default class WGSLNodeFunction extends NodeFunction {
44
constructor(source: string);

types/three/examples/jsm/renderers/webgpu/nodes/WGSLNodeParser.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import NodeParser from "../../../nodes/core/NodeParser";
2-
import WGSLNodeFunction from "./WGSLNodeFunction";
1+
import NodeParser from "../../../nodes/core/NodeParser.js";
2+
import WGSLNodeFunction from "./WGSLNodeFunction.js";
33

44
export default class WGSLNodeParser extends NodeParser {
55
parseFunction(source: string): WGSLNodeFunction;

0 commit comments

Comments
 (0)