Artur Finger

Results 26 issues of Artur Finger

Hello there, Sorry for the bad news, but it seems that ISOViewer does not run on Mac with M1 chip. My setup is MacBook Pro (14-inch, 2021), chip Apple M1...

Even simple union types require brackets (e.g. `(number|undefined)`) without brackets there is a warning. ```js /** * @type {{ * age: number|undefined, // WARNING - [JSC_TYPE_PARSE_ERROR] Bad type annotation. *...

CJS module support is bugged. Consider [this library](https://www.npmjs.com/package/merge). This library is in CJS format and the first few lines of its code look like this: ```js // "use strict"; Object.defineProperty(exports,...

Some compilation flags are unclear, hard to understand or find out what they do or insufficiently documented. Specifically, I am talking about [the wiki section on compiler flags](https://github.com/google/closure-compiler/wiki/Flags-and-Options). Let's have...

`Array.pop` and `Array.shift` methods do not get type-checked correctly, at least not by Typescript standards. Example: ```js /** * @param {Array} names */ function hello(names) { /** @type {string} */...

`Array.reduce` method does not get type-checked correctly. Eample: ```js /** * @type {Array} */ const arr = [1,2,3] const sum = arr.reduce((a, b) => a + b, 0); ``` Raises...

```js /** * @type {{ x: number, y: number, w: number, h: number }} */ const rect = { x: 0, y: 0, w: 100, h: 100 }; /** *...

Interfaces do not check return type of methods when `return` is not called. ```js /** @interface */ function ISerializable() {}; /** @type {function(): string} */ ISerializable.prototype.serialize; /** * @implements {ISerializable}...

triage-done

The type checking of promises has several issues with it. 1. `Promise.resolve` is not type checked correctly when called without argument ```js /** * @type {Promise} */ const p =...

P4