
Etienne Burdet
Articles
-
Sep 4, 2024 |
dev.to | Etienne Burdet
So enums are dead, right? Long live the as const:const ODirection = { Up: 0, Down: 1, Left: 2, Right: 3,} as const;// It requires an extra line to pull out the valuestype Direction = typeof ODirection[keyof typeof ODirection]; But it's verbose to type. So here comes my uber-intelligence. Brace yourself, you might not be ready for it. Here we go:export type RecordsValue<O> = O[Exclude<keyof O, undefined>]// ... type Direction = RecordValues<typeof ODirection>; Incredible.
-
Dec 6, 2023 |
journals.plos.org | Xiaoxiao Cheng |David Franklin |Etienne Burdet |Tjasa Kunavar
Loading metrics Open Access Peer-reviewedResearch Article Citation: Kunavar T, Cheng X, Franklin DW, Burdet E, Babič J (2023) Explicit learning based on reward prediction error facilitates agile motor adaptations. PLoS ONE 18(12): e0295274. https://doi.org/10.1371/journal.pone.0295274Editor: Ryan T.
Try JournoFinder For Free
Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.
Start Your 7-Day Free Trial →