This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
#364398d517 Thanks @NullVoxPopuli! - Address an issue where the types of each of the browser services did not have sufficient overlap with Service.
This is required for folks using more modern TypeScript in ember apps,
where the service-name argument is passed to the @service decorator.
Previously, an error would occur:
../ember-browser-services/dist/services/browser/document.d.ts:4:9 - error TS2411: Property ''browser/document'' of type 'typeof Service & Document' is not assignable to 'string' index type 'Service'.
4 'browser/document': typeof DocumentProxyService;
~~~~~~~~~~~~~~~~~~
The expected type of Services in the Service Registry is Service, not typeof Service.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
ember-browser-services@4.0.4
Patch Changes
#364
0be2928
Thanks @NullVoxPopuli! - Include the LICENSE.md in the npm package#364
398d517
Thanks @NullVoxPopuli! - Address an issue where the types of each of the browser services did not have sufficient overlap withService
.This is required for folks using more modern TypeScript in ember apps, where the service-name argument is passed to the
@service
decorator.Previously, an error would occur:
The expected type of Services in the Service Registry is
Service
, nottypeof Service
.