-
-
Notifications
You must be signed in to change notification settings - Fork 679
CamelCasedPropertiesDeep/SnakeCasedPropertiesDeep breaks unknown values #1111
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
import type {CamelCasedPropertiesDeep,SnakeCasedPropertiesDeep} from 'type-fest';
type Foo = {
x: unknown;
};
type CamelCased = CamelCasedPropertiesDeep<Foo>;
type SnakeCased = SnakeCasedPropertiesDeep<Foo>;Expected:
type CamelCased = {
x: unknown;
};
type SnakeCased = {
x: unknown;
};Actual:
type CamelCased = {
x: {};
};
type SnakeCased = {
x: {};
};Repro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working