Skip to content

Instantly share code, notes, and snippets.

@andi1984
Last active November 27, 2020 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andi1984/e9e73015ad672f036b4562fecc1e0747 to your computer and use it in GitHub Desktop.
Save andi1984/e9e73015ad672f036b4562fecc1e0747 to your computer and use it in GitHub Desktop.
/**
* @typedef {import("./typings").Car} Car
*/
/**
* @type {Car}
*/
const porsche993 = {};
declare function throttle(to: number): number;
declare function brake(to: number): number;
export type Car = {
throttle: typeof throttle;
brake: typeof brake;
manufacturer: string;
series: string;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment