cobalt
Explore posts from serversKPCKevin Powell - Community
•Created by cobalt on 1/9/2023 in #resources
How to Center in CSS
yeah well a all in one tool is always easier...
3 replies
KPCKevin Powell - Community
•Created by cobalt on 11/1/2022 in #front-end
Can I do this without a helper function?
someone in another server got https://www.typescriptlang.org/play?ssl=14&ssc=3&pln=1&pc=1#code/C4TwDgpgBAkgdgMwgJwLIQDwBUoQB7ARwAmAzlABSnDICWcA5lAD5RwCuAtgEYoCUUALyVqdRizZdeyPgD4hUHPkIly9JMlhQA-FADeAKCjGooSAC5YAbiMmAhsmR2QlmAG0AujYC+US3AgANxQDAwBjAHs4aih1FHRXRHjoYUMTU3AISwAiUXoGbIAaW2MHJxcoNwBGQqgAJlqAZg9i7xtwqJi4tAg6xI10BTSTMyyoXJp8opKoMudLN2yqovG6lezG7JaDNqA to work 👀
8 replies
KPCKevin Powell - Community
•Created by cobalt on 11/1/2022 in #front-end
Can I do this without a helper function?
interesting...well thanks
8 replies
KPCKevin Powell - Community
•Created by cobalt on 11/1/2022 in #front-end
Can I do this without a helper function?
I want
type
and array[number]
to be the same type. TS doesn't error when they're mismatched unless I pass the whole object to a helper function. Is there any way I can eliminate the need for the helper function while still having it error where I want it to?8 replies