Skip to content

Exported TypeScript definition is incomplete #10

@Swiftwork

Description

@Swiftwork

The tailwindcss-class-parser.es.d.ts file contains broken references and no other types:

import { classname } from './classname';
import { parse } from './parse';

export { classname }

export { parse }

export { }
image

My editor also isn't picking up the definition that is there:

image

But works if I add a types.d.ts with:

declare module "@xengine/tailwindcss-class-parser" {
  export function parse(input: string): any;
}

Good work with the library! It would be very useful to have proper typescript definitions exported for further consumption 😄 .

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions