Skip to content

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

Merged
merged 20 commits into from
Apr 12, 2023

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Mar 28, 2023

Generic dependency update. Notable:
-Typecript 5.0

Decide if we want this:

Resolved

  • a bug in typedoc add me comment 2 function argument types

@github-actions
Copy link
Contributor

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):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/1756/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/1756/

@timotheeguerin timotheeguerin force-pushed the upgrade/dep-march-2023 branch from 718b87e to a7b27b3 Compare April 6, 2023 22:57
@timotheeguerin timotheeguerin changed the title Update dependencies: March 2023 Update dependencies: March 2023 (TS 5.0) Apr 7, 2023
@timotheeguerin timotheeguerin marked this pull request as ready for review April 7, 2023 16:19
@@ -36,7 +36,7 @@ export const NodeHost: CompilerHost = {
},
getSourceFileKind: getSourceFileKindFromExt,
logSink: createConsoleSink(),
mkdirp: (path: string) => mkdirp(path),
mkdirp: (path: string) => mkdirp(path) as any,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened here?

Copy link
Member Author

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also curios about here.

@timotheeguerin timotheeguerin merged commit d8677f2 into microsoft:main Apr 12, 2023
@timotheeguerin timotheeguerin deleted the upgrade/dep-march-2023 branch April 12, 2023 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants