mirror of
https://github.com/coder/code-server.git
synced 2026-05-06 04:36:03 -05:00
Adds a reusable Callback type that is applied to emitter.ts for improved readability/simplicity.
2 lines
48 B
TypeScript
2 lines
48 B
TypeScript
export type Callback<T, R = void> = (t: T) => R
|