diff --git a/src/core/index.ts b/src/core/index.ts index a7d81b4..7c49cc4 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -8,3 +8,6 @@ export { default as Object3D } from './Object3D' export { default as Raycaster } from './Raycaster' export { default as CubeCamera } from './CubeCamera' + +export type { RendererInterface } from './Renderer' +export type { Object3DInterface } from './Object3D' diff --git a/src/materials/index.ts b/src/materials/index.ts index 2ecd0b4..c1b1a5c 100644 --- a/src/materials/index.ts +++ b/src/materials/index.ts @@ -13,3 +13,5 @@ export { default as Texture } from './Texture' export { default as CubeTexture } from './CubeTexture' export { default as PointsMaterial } from './PointsMaterial' + +export type { MaterialInterface } from './Material' diff --git a/src/meshes/index.ts b/src/meshes/index.ts index 91a2657..6c20836 100644 --- a/src/meshes/index.ts +++ b/src/meshes/index.ts @@ -23,3 +23,5 @@ export { default as InstancedMesh } from './InstancedMesh' export { default as Sprite } from './Sprite' export { default as Points } from './Points' + +export type { MeshInterface } from './Mesh'