From fa685ecbdb5eb631dc35b93600509f2a5b1f5a1c Mon Sep 17 00:00:00 2001 From: Frank Weindel <6070611+frank-weindel@users.noreply.github.com> Date: Sat, 6 Jul 2024 21:53:19 -0400 Subject: [PATCH] Export ShaderController types to API --- exports/index.ts | 2 ++ src/main-api/INode.ts | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/exports/index.ts b/exports/index.ts index a8f8d973..6edd373a 100644 --- a/exports/index.ts +++ b/exports/index.ts @@ -39,6 +39,8 @@ export * from '../src/main-api/INode.js'; export * from '../src/main-api/Renderer.js'; +export * from '../src/main-api/ShaderController.js'; +export * from '../src/main-api/DynamicShaderController.js'; export * from '../src/common/IAnimationController.js'; export * from '../src/common/CommonTypes.js'; diff --git a/src/main-api/INode.ts b/src/main-api/INode.ts index 66008bc7..d2fa6a67 100644 --- a/src/main-api/INode.ts +++ b/src/main-api/INode.ts @@ -57,8 +57,9 @@ export interface INode /** * Properties used to animate() a Node */ -export interface INodeAnimateProps - extends Omit { +export interface INodeAnimateProps< + SC extends BaseShaderController = BaseShaderController, +> extends Omit { shaderProps: Partial; }