-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
lang-typescriptTypeScript/JavaScript grammar supportTypeScript/JavaScript grammar support
Description
I wanted to delete a bunch of as const (after updating to TypeScript 5.0 and adding const to my generics) in some statements like
foo(Bar, {
action: 'baz' as const,
});
foo(Bar, {
action: 'baz',
} as const);but there's no convenient way to target the as const.
Related previous discussion:
pokey
Metadata
Metadata
Assignees
Labels
lang-typescriptTypeScript/JavaScript grammar supportTypeScript/JavaScript grammar support