diff --git a/packages/generator-typescript/templates/gjs/README-GJS.md b/packages/generator-typescript/templates/gjs/README-GJS.md index 623fb659..1dfa4f0d 100644 --- a/packages/generator-typescript/templates/gjs/README-GJS.md +++ b/packages/generator-typescript/templates/gjs/README-GJS.md @@ -19,7 +19,7 @@ To use this type definitions, install them with NPM: npm install <%- npmScope %>/<%- importName %> ``` -<%_ const pkg = dep.getSync(packageName) _%> +<%_ const pkg = await dep.get(packageName) _%> <%_ if(!pkg){ _%> <%_ return `Package with package name "${packageName}" not found!` _%> <%_ } _%>