4 ms·
Looks really nice! I have an existing codebase that I might try this on. One feedback: Wouldn't interface MyComponentState { foo: number; bar:
by TheCoreh 9y ago
Looks really nice! I have an existing codebase that I might try this on.
One feedback: Wouldn't
interface MyComponentState {
foo: number;
bar: string;
baz: number;
}
Be a little more idiomatic than
type MyComponentState = {
foo: number;
bar: string;
baz: number;
}
?