-
Notifications
You must be signed in to change notification settings - Fork 299
Update dependencies: March 2023 (TS 5.0) #1756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies: March 2023 (TS 5.0) #1756
Conversation
Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status): Website: https://cadlwebsite.z1.web.core.windows.net/prs/1756/ |
718b87e
to
a7b27b3
Compare
@@ -36,7 +36,7 @@ export const NodeHost: CompilerHost = { | |||
}, | |||
getSourceFileKind: getSourceFileKindFromExt, | |||
logSink: createConsoleSink(), | |||
mkdirp: (path: string) => mkdirp(path), | |||
mkdirp: (path: string) => mkdirp(path) as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happened here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the typing for that library is returning Promise<undefined | void>
(void) causing issue. this triggered me also to create that remove mkdirp library issue as it is useless now
@@ -387,7 +387,7 @@ export function createAssetEmitter<T, TOptions extends object>( | |||
emitModelProperties(model) { | |||
const res = typeEmitter.modelProperties(model); | |||
if (res instanceof EmitterResult) { | |||
return res; | |||
return res as any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also curios about here.
Generic dependency update. Notable:
-Typecript 5.0
Decide if we want this:
Resolved