We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9aa00 commit 864243bCopy full SHA for 864243b
src/output.ts
@@ -248,7 +248,7 @@ function buildExamples(c: DocsConfigInterface) {
248
o.push(`In \`capacitor.config.ts\`:`);
249
o.push(``);
250
o.push(`\`\`\`ts`);
251
- o.push(`/// <reference types="@capacitor/${slugify(c.name.replace(/([a-z])([A-Z])/g, '$1 $2'))}" />`);
+ o.push(`/// <reference types="${process.env.npm_package_name}" />`);
252
253
o.push(`import { CapacitorConfig } from '@capacitor/cli';`);
254
0 commit comments