TouchHolographicButton duplicated

Hi,
I’ve just updated to Babylon 5.27 and got this error:

[ng] Error: node_modules/babylonjs-gui/babylon.gui.module.d.ts:13433:18 - error TS2300: Duplicate identifier ‘TouchHolographicButton’.
[ng]
[ng] 13433 export class TouchHolographicButton extends TouchButton3D {
[ng] ~~~~~~~~~~~~~~~~~~~~~~
[ng]
[ng]
[ng] Error: node_modules/babylonjs-gui/babylon.gui.module.d.ts:13895:18 - error TS2300: Duplicate identifier ‘TouchHolographicButton’.
[ng]
[ng] 13895 export class TouchHolographicButton extends TouchButton3D {
[ng] ~~~~~~~~~~~~~~~~~~~~~~
[ng]
[ng]

this is a snippet from my package.json:

“babylonjs”: “^5.27.0”,
“babylonjs-gui”: “^5.27.0”,
“babylonjs-loaders”: “^5.27.0”,
“babylonjs-materials”: “^5.27.0”,
“babylonjs-procedural-textures”: “^5.27.0”,

Thank you

roberto

I am seeing this as well.

oh no.

Let me check and fix that. Thanks a lot!!!

2 Likes

Fix declaration generation when “as” is used by RaananW · Pull Request #13085 · BabylonJS/Babylon.js (github.com)

After this is merged I will release 5.27.1 with a fix.

Thanks for reporting!

1 Like