Report errors on unused local variables.
ts
// @noUnusedLocals
// @errors: 6133
const createKeyboard = (modelID: number) => {
const defaultModelID = 23;
return { type: "keyboard", modelID };
};
// @noUnusedLocals
// @errors: 6133
const createKeyboard = (modelID: number) => {
const defaultModelID = 23;
return { type: "keyboard", modelID };
};