Skip to content
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

Add builtin module #168

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Add builtin module #168

merged 1 commit into from
Dec 8, 2023

Conversation

peze
Copy link
Contributor

@peze peze commented Dec 7, 2023

No description provided.

lib/semantic.js Outdated
@@ -1345,6 +1389,12 @@ class TypeChecker {
return;
}

if (builtin.has(name)) {
// alias
id.type = 'builtin_module ';
Copy link
Contributor

Choose a reason for hiding this comment

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

多了空格。

@@ -0,0 +1,12 @@
static async function main(args: [string]): void {
var signData = Crypto.HmacSHA1Sign('test', 'secret');
Copy link
Contributor

Choose a reason for hiding this comment

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

crypto 包稍微有点丑

@JacksonTian JacksonTian merged commit 7dcc542 into aliyun:master Dec 8, 2023
6 checks passed
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