Skip to content

types #73

@AllanOricil

Description

@AllanOricil

we cant use it in typescript

[!] (plugin rpt2) RollupError: [plugin rpt2] src/builder.ts:12:26 - error TS7016: Could not find a declaration file for module 'postcss-clean'. '/Users/allanoricil/nrg-lib/node_modules/postcss-clean/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/postcss-clean` if it exists or add a new declaration (.d.ts) file containing `declare module 'postcss-clean';`

12 import postcssClean from "postcss-clean";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions