khrome / ascii-art

A Node.js library for ansi codes, figlet fonts, ascii art and other ASCII graphics
MIT License
681 stars 287 forks source link

types are incomplete #30

Open anoushk1234 opened 1 year ago

anoushk1234 commented 1 year ago

const r = await art.font("Hello World", "Doom").completed(); this code actually works but according to your ts types it says that completed isnt actually function

khrome commented 1 year ago

If you are using types that means you are using https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ascii-art which would be the place to correct it. During the 3.x lifecycle we will support compiling a type definition from source, but because this library runs build-free it will never be native TS.