Skip to content

Instantly share code, notes, and snippets.

@andi1984

andi1984/demo.js

Last active Nov 27, 2020
Embed
What would you like to do?
/**
* @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