Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS: Use a variable instead of an interface for DepthLimitedBlurShader.BlurShaderUtils typing. #20173

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

twastvedt
Copy link
Contributor

I believe this is necessary in order to use BlurShaderUtils, as BlurShaderUtils is a variable, not just an interface. Without this Typescript is removing my import lines from its output, causing BlurShaderUtils to be missing at runtime.

@mrdoob mrdoob added this to the r120 milestone Aug 25, 2020
@mrdoob mrdoob changed the title Use a variable instead of an interface for DepthLimitedBlurShader.BlurShaderUtils typing. TS: Use a variable instead of an interface for DepthLimitedBlurShader.BlurShaderUtils typing. Aug 25, 2020
@mrdoob mrdoob merged commit f00502b into mrdoob:dev Aug 25, 2020
@mrdoob
Copy link
Owner

mrdoob commented Aug 25, 2020

Thanks!

@twastvedt twastvedt deleted the patch-2 branch August 28, 2020 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants