Title: typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript · GitHub
Open Graph Title: typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript
X Title: typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript
Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript
Open Graph Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript
X Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript
Opengraph URL: https://github.com/microsoft/TypeScript
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"typesafe-joi blows up TypeScript 3.2+","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 3.3.0-dev.20181205\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n\r\nMaximum call stack size exceeded\r\n\r\n**Code Repo:**\r\n\r\nhttps://github.com/hjkcai/typesafe-joi\r\n\r\n**Reproduction:**\r\n\r\n```bash\r\nmkdir typesafe-joi-issue && cd typesafe-joi-issue\r\nyarn add typescript@next @types/node typesafe-joi joi\r\necho '{\"compilerOptions\":{\"strict\":true}}' > tsconfig.json\r\necho 'import * as Joi from \"typesafe-joi\"; console.log(Joi)' > index.ts\r\nnpx tsc -p .\r\n```\r\n\r\n**Expected behavior:**\r\n\r\ntsc should work. \r\n\r\nI admit that typesafe-joi uses lots of type recursion, but it works fine in TypeScript 3.1. After upgrading to TypeScript 3.2, the error comes.\r\n\r\n**Actual behavior:**\r\n\r\ntsc itself encountered 'Maximum call stack size exceeded' (No stack trace printed)\r\n","author":{"url":"https://github.com/hjkcai","@type":"Person","name":"hjkcai"},"datePublished":"2018-12-06T05:04:47Z","url":"https://github.com/microsoft/TypeScript/issues/28873"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:3d47bd3e-df3c-fca4-f087-5fcf849cea15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B76:213839:353703B:4408099:6B01D895 |
| html-safe-nonce | 826ffffd00faa36bfca042598d47a49e6cbf5b131532bd7b5297241d372d9bf0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjc2OjIxMzgzOTozNTM3MDNCOjQ0MDgwOTk6NkIwMUQ4OTUiLCJ2aXNpdG9yX2lkIjoiODAwMzk3MzQ2NDAyNzQyMDgyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3ad88a406a1fa680636897a0525e6ef27758e60e51048d632a48aca802d80aa5 |
| hovercard-subject-tag | repository:20929025 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/TypeScript/issues/28873 |
| twitter:image | https://opengraph.githubassets.com/47cde802d3847ff7ce61448bd4f8c3272d012c9a3f2b9085b71a67530bf7bbd6/microsoft/TypeScript |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47cde802d3847ff7ce61448bd4f8c3272d012c9a3f2b9085b71a67530bf7bbd6/microsoft/TypeScript |
| og:image:alt | TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - typesafe-joi blows up TypeScript 3.2+ · Issue #28873 · microsoft/TypeScript |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width