{
    "componentChunkName": "component---src-templates-article-tsx",
    "path": "/blog/2021-09-05-typescript",
    "result": {"data":{"article":{"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Typescript\",\n  \"date\": \"2021-09-05T00:00:00.000Z\",\n  \"author\": \"Mathieu Ledru\",\n  \"cover\": \"images/cover.svg\",\n  \"coverSeo\": \"images/cover.png\",\n  \"coverAuthor\": \"Typescript\",\n  \"coverOriginalUrl\": \"https://www.typescriptlang.org\",\n  \"tags\": [\"blog\"]\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"Uniflow did succeffully do the migration from Javascript to Typescript. \\uD83C\\uDF89\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"This is applied for Uniflow Client (front) and Uniflow Api (back).\"), mdx(\"p\", null, \"Typescript allow to fully type variables and get more consistent when coding.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"This allow detect errors at compile time and will save development time cost overtime.\"), mdx(\"p\", null, \"Happy flowing. \\uD83C\\uDF89\"));\n}\n;\nMDXContent.isMDXComponent = true;","timeToRead":1,"excerpt":"Uniflow did succeffully do the migration from Javascript to Typescript. 🎉 This is applied for Uniflow Client (front) and Uniflow Api (back…","frontmatter":{"title":"Typescript","author":{"fields":{"slug":"mathieu-ledru"},"name":"Mathieu Ledru","image":{"childImageSharp":{"gatsbyImageData":{"layout":"fixed","backgroundColor":"#c8d8e8","images":{"fallback":{"src":"/static/fb9823e91c2bfd9991aad3fd789bd4f7/e6240/mathieu-ledru.jpg","srcSet":"/static/fb9823e91c2bfd9991aad3fd789bd4f7/e6240/mathieu-ledru.jpg 36w,\n/static/fb9823e91c2bfd9991aad3fd789bd4f7/cbeb2/mathieu-ledru.jpg 72w","sizes":"36px"},"sources":[{"srcSet":"/static/fb9823e91c2bfd9991aad3fd789bd4f7/9a807/mathieu-ledru.webp 36w,\n/static/fb9823e91c2bfd9991aad3fd789bd4f7/de323/mathieu-ledru.webp 72w","type":"image/webp","sizes":"36px"}]},"width":36,"height":36}}}},"cover":{"childImageSharp":null,"extension":"svg","publicURL":"/static/b721ba6020d4cf87df3802dce45424f1/cover.svg"},"coverSeo":{"publicURL":"/static/f750dd4b7cf3a79182eff8c092509daf/cover.png"},"coverAuthor":"Typescript","coverOriginalUrl":"https://www.typescriptlang.org","tags":["blog"],"date":"September 5th 2021"},"parent":{"relativePath":"2021-09-05-typescript/index.md"}}},"pageContext":{"id":"b23dc934-dcf6-51e7-8623-5f00bdbaaa56","fields":{"slug":"2021-09-05-typescript"},"frontmatter":{"title":"Typescript","tags":["blog"],"author":{"fields":{"slug":"mathieu-ledru"}}},"previous":null,"next":{"id":"306e3c4f-67d0-5ff6-b0b4-d592cee012c5","fields":{"slug":"2021-08-27-redux-to-context"},"frontmatter":{"title":"React Redux to React Context","tags":["blog"],"author":{"fields":{"slug":"mathieu-ledru"}}}}}},
    "staticQueryHashes": ["2578145036","2664713623","316950330"]}