Closed nikeinikei closed 4 years ago
According to the official api the function https://love2d.org/wiki/love.filesystem.write can accept both string and Data however in the definitions (https://github.com/hazzard993/love-typescript-definitions/blob/master/typings/love.filesystem/functions.d.ts#L465) it only accepts Data
string
Data
Thanks a bunch for reporting that! I've released 0.20.2 which adds this variant to love.filesystem.write
According to the official api the function https://love2d.org/wiki/love.filesystem.write can accept both
string
andData
however in the definitions (https://github.com/hazzard993/love-typescript-definitions/blob/master/typings/love.filesystem/functions.d.ts#L465) it only acceptsData