diff --git a/blog/2024-04-17-newsletter/index.md b/blog/2024-04-17-newsletter/index.md index ac3c52c0..d9b19fc3 100644 --- a/blog/2024-04-17-newsletter/index.md +++ b/blog/2024-04-17-newsletter/index.md @@ -106,7 +106,7 @@ main(); + `loadPackage` ```ts -import { listVariables, ListVariablesArgs } from "kcl-lib"; +import { loadPackage, LoadPackageArgs } from "kcl-lib"; function main() { const result = loadPackage(LoadPackageArgs(['__test__/test_data/schema.k'], [], true)); diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-04-17-newsletter/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-04-17-newsletter/index.md index 45827fe5..2b1dbd2a 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-04-17-newsletter/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-04-17-newsletter/index.md @@ -106,7 +106,7 @@ main(); + `loadPackage` ```ts -import { listVariables, ListVariablesArgs } from "kcl-lib"; +import { loadPackage, LoadPackageArgs } from "kcl-lib"; function main() { const result = loadPackage(LoadPackageArgs(['__test__/test_data/schema.k'], [], true));