Flamework's ID generation has differing behavior for .d.ts files depending on whether or not the file is a descendant of a rootDir. .d.ts files that ARE a descendant of a rootDir (such as type declarations for .lua files or a types.d.ts file) won't have their extension removed, resulting in IDs like @package/types.d.ts@MyInterface. At the same time, .d.ts files that AREN'T a descendant of a rootDir will always have their extension removed, resulting in IDs like @package/types@MyInterface. This behavior discrepancy causes ID mismatches for packages that use declarations from .d.ts files.
Flamework's ID generation has differing behavior for
.d.ts
files depending on whether or not the file is a descendant of arootDir
..d.ts
files that ARE a descendant of arootDir
(such as type declarations for.lua
files or atypes.d.ts
file) won't have their extension removed, resulting in IDs like@package/types.d.ts@MyInterface
. At the same time,.d.ts
files that AREN'T a descendant of arootDir
will always have their extension removed, resulting in IDs like@package/types@MyInterface
. This behavior discrepancy causes ID mismatches for packages that use declarations from.d.ts
files.Package A
Package B