generated from oddbird/polyfill-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Running npx -p typescript tsc index.mjs --declaration --allowJs --emitDeclarationOnly end in the following error:
node_modules/@oddbird/css-anchor-positioning/dist/polyfill.d.ts(17,72): error TS2304: Cannot find name 'AnchorPositioningPolyfillOptions'.
tsc exited with code 2Running the same command worked fine with v0.2.0
Additional context
The tsconfig.json
{
"compilerOptions": {
"target": "ES2020",
"experimentalDecorators": true,
"useDefineForClassFields": false,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
/* Project */
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"rootDir": "./src",
"outDir": "./dist/",
/* Custom */
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true
}
]
},
"include": ["src"]
}jgerigmeyer
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working