[auto-generated] google-apps-script: widen Console method parameter from `object | string` to `any` by niallmcdonough · Pull Request #74814 · DefinitelyTyped/DefinitelyTyped
The Console interface methods (error, info, log, warn) previously typed their first argument as `object | string`, which incorrectly rejects primitive values like numbers and booleans. The Google Apps Script documentation specifies the parameter as Object, which in JS/GAS accepts any value. This aligns with standard TS console typings in lib.dom.d.ts and @types/node which use `any`.
added
the
Popular package
label
Mar 30, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters