TypeScript types for spdx-license-list
ddgenome opened this issue · comments
I have created a set of types for spdx-license-list. Would you prefer I add them to this repository via a PR or create a @types/spdx-license-list
package via DefinitelyTyped?
@shinnn, I would personally prefer to keep this repo as simple as possible.
Understood.
@kemitchell considering the types for this are all of 4 lines, that's a pretty weak argument. For anyone happening by that needs types for this, and would prefer not to deal with any
, here you are:
declare module 'spdx-license-ids*' {
const Licenses: string[];
export = Licenses;
}