mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
444 B
TypeScript
16 lines
444 B
TypeScript
// @strict: true
|
|
// @module: preserve
|
|
// @moduleResolution: bundler
|
|
// @noEmit: true
|
|
|
|
// @filename: /types.d.ts
|
|
declare module "plainstring" with { type: "css" } {
|
|
export const value: "plain";
|
|
}
|
|
|
|
// @filename: /index.ts
|
|
import { value as withoutAttributes } from "plainstring";
|
|
import { value as withAttributes } from "plainstring" with { type: "ignored" };
|
|
|
|
const first: "plain" = withoutAttributes;
|
|
const second: "plain" = withAttributes; |