{"componentChunkName":"component---src-templates-talk-js","path":"/talks/black-magic-typescript/","result":{"data":{"markdownRemark":{"id":"c006c4f1-655a-53aa-96c1-ebfcec25c75d","htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"TypeScript's type system, compared to other mainstream programming languages, is rather strange.\nIn order to integrate into the rest of JavaScript's chaotic ecosystem TypeScript makes some interesting compromises but also empowers developers to express some very powerful types."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"This talk focuses on some of "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"TypeScript's dark corners"}]},{"type":"text","value":" and investigates black type magic that is unknown to most developers and heresy to many!\nJoin the dark legions, become a disciple of TypeScript's dark side and learn how to use "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"mapped types"}]},{"type":"text","value":", "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"conditional types"}]},{"type":"text","value":", and "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"type factories"}]},{"type":"text","value":" to impress and/or confuse your friends and co-workers."}]}],"data":{"quirksMode":false}},"fields":{"path":"/talks/black-magic-typescript/"},"frontmatter":{"title":"Black Magic in TypeScript","excerpt":"Learn about TypeScript's dark corners of mapped types, conditional types, and type factories","card":"typescript.jpg","language":null,"slides":{"pdf":null,"url":"https://files.peterkroener.de/slides/ts45"},"video":"https://www.youtube.com/watch?v=jtcTMYZzUvk","speakers":[{"id":"063f9114-aad7-522f-85aa-dabadb229e14","fields":{"path":"/speakers/peter-kroener/"},"frontmatter":{"name":"Peter Kröner","slug":"peter-kroener","bio":"Frontend specialist, long-time teacher, Erklärbär","social":{"site":null,"twitter":"sir_pepe"}}}]}}},"pageContext":{"slug":"black-magic-typescript"}}}