mirror of
https://github.com/aphrody-labs/oxc.git
synced 2026-10-15 06:39:17 +00:00
docs(ast): correct TSIntrinsicKeyword example (#26967)
This commit is contained in:
1 parent
24ba624d7e
commit
e9ff529e87
1 file changed
+4
-1
@@ -655,8 +655,11 @@ pub struct TSNeverKeyword {
|
||||
/// TypeScript `intrinsic` Keyword
|
||||
///
|
||||
/// Intrinsic types are built into TypeScript and are not user-defined.
|
||||
///
|
||||
/// ## Example
|
||||
/// `type Uppercase<T extends character> = intrinsic;`
|
||||
/// ```ts
|
||||
/// type Uppercase<S extends string> = intrinsic;
|
||||
/// ```
|
||||
///
|
||||
/// ### References
|
||||
/// * [TypeScript Handbook - Intrinsic String Manipulation
|
||||
|
||||
Reference in new issue
Block a user