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

Type definition reference complie error with camelcase types in linux. #45509

Closed
xiamidaxia opened this issue Aug 19, 2021 · 2 comments
Closed
Labels
Duplicate An existing issue was already created

Comments

@xiamidaxia
Copy link

xiamidaxia commented Aug 19, 2021

Bug Report

I create a file src/typings/spine.d.ts:

/// <reference types="phaser/types/spine"/>
/// <reference types="phaser/types/SpinePlugin"/>
/// <reference types="phaser/types/SpineFile"/>
/// <reference types="phaser/types/SpineGameObject"/>

but compile with error on linux:

[compile] src/typings/spine.d.ts(2,23): error TS2688: Cannot find type definition file for 'phaser/types/spineplugin.d.ts'.
[compile] src/typings/spine.d.ts(3,23): error TS2688: Cannot find type definition file for 'phaser/types/spinefile'.
[compile] src/typings/spine.d.ts(4,23): error TS2688: Cannot find type definition file for 'phaser/types/spinegameobject'

These files exist in node_modules/phaser/types/ , but are converted to lowercase.

image

https://github.com/photonstorm/phaser/tree/master/types

🕗 Version & Regression Information

Typescript version: 3.9.3 and 4.x

Linux Red Hat 6.4.0-1.

There is no such problem on Mac.

🙁 Actual behavior

🙂 Expected behavior

@fatcerberus
Copy link

Looks like #45096.

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Aug 19, 2021
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

4 participants