Improve typing for Device—add "name" property #7
Annotations
2 errors and 1 warning
Run npm install:
src/main.ts#L38
The type 'readonly [{ readonly name: "Blackberry PlayBook"; readonly userAgent: "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+"; readonly viewport: { ...; }; }, ... 133 more ..., { ...; }]' is 'readonly' and cannot be assigned to the mutable type 'Device[]'.
|
Run npm install
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading