@povder started a discussion on an already committed PR about the method SubtleCrypto.decrypt(algorithm: KeyAlgorithmIdentifier, key: CryptoKey, ...).
In summary either:
algorithm should be extended to type AlgorithmIdentifier
AesGcmParams should extend KeyAlgorithmIdentifier