mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
25 lines
608 B
Text
25 lines
608 B
Text
---
|
|
source: crates/oxc_isolated_declarations/tests/mod.rs
|
|
input_file: crates/oxc_isolated_declarations/tests/fixtures/as-const.ts
|
|
---
|
|
```
|
|
==================== .D.TS ====================
|
|
|
|
declare const F: {
|
|
readonly string: "string"
|
|
readonly templateLiteral: "templateLiteral"
|
|
readonly number: 1.23
|
|
readonly bigint: -123n
|
|
readonly boolean: true
|
|
readonly null: null
|
|
readonly undefined: undefined
|
|
readonly function: (a: string) => void
|
|
readonly arrow: (a: string) => void
|
|
readonly object: {
|
|
readonly a: "a"
|
|
readonly b: "b"
|
|
}
|
|
readonly array: readonly ["a", undefined, {
|
|
readonly b: "\n"
|
|
}]
|
|
};
|