Closed kpeters-cbsi closed 2 years ago
I got it fixed. The getters were throwing me off.
// Type definitions for link2aws
// Project: https://github.com/link2aws/link2aws.github.io#readme
// Definitions by: Christopher Peters <https://github.com/popefelix>
declare module 'link2aws' {
class ARN {
constructor(text: string);
public string: string;
public console: string;
public qualifiers: string[];
public pathLast: string;
public consoleLink: string;
}
}
I'd like to use this inside of a Typescript project, but I need typings for same. I tried making my own with
dts-gen
, but I don't think I did it right, because I'm getting the error:Here's what I have so far: