mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
51 lines
1.9 KiB
Plaintext
51 lines
1.9 KiB
Plaintext
/augmentations.ts(11,16): error TS2664: Invalid module name in augmentation, module 'unattributed.special' cannot be found.
|
|
/index.ts(7,12): error TS2339: Property 'augmented' does not exist on type 'typeof import("attributed/*.asset")'.
|
|
/index.ts(9,31): error TS2307: Cannot find module 'unattributed.special' or its corresponding type declarations.
|
|
|
|
|
|
==== /types.d.ts (0 errors) ====
|
|
declare module "*.asset" {
|
|
export const plain: "plain";
|
|
}
|
|
|
|
declare module "attributed/*.asset" with { type: "css" } {
|
|
export const attributed: "attributed";
|
|
}
|
|
|
|
declare module "*.special" with { type: "special" } {
|
|
export const attributed: "attributed";
|
|
}
|
|
|
|
==== /augmentations.ts (1 errors) ====
|
|
export {};
|
|
|
|
declare module "merged.asset" {
|
|
export const augmented: "augmented";
|
|
}
|
|
|
|
declare module "attributed/file.asset" {
|
|
export const augmented: "augmented";
|
|
}
|
|
|
|
declare module "unattributed.special" {
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2664: Invalid module name in augmentation, module 'unattributed.special' cannot be found.
|
|
export const augmented: "augmented";
|
|
}
|
|
|
|
==== /index.ts (2 errors) ====
|
|
import * as merged from "merged.asset";
|
|
merged.plain;
|
|
merged.augmented;
|
|
|
|
import * as attributed from "attributed/file.asset" with { type: "css" };
|
|
attributed.attributed;
|
|
attributed.augmented;
|
|
~~~~~~~~~
|
|
!!! error TS2339: Property 'augmented' does not exist on type 'typeof import("attributed/*.asset")'.
|
|
|
|
import * as unattributed from "unattributed.special";
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2307: Cannot find module 'unattributed.special' or its corresponding type declarations.
|
|
unattributed.attributed;
|
|
unattributed.augmented; |