We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd811ee commit e9c6920Copy full SHA for e9c6920
1 file changed
handwritten/storage/src/file.ts
@@ -3820,7 +3820,7 @@ class File extends ServiceObject<File, FileMetadata> {
3820
encryptionKey: optionsOrCallback,
3821
};
3822
} else if (typeof optionsOrCallback === 'object') {
3823
- options = optionsOrCallback;
+ options = optionsOrCallback as EncryptionKeyOptions;
3824
}
3825
3826
const newFile = this.bucket.file(this.id!, options);
0 commit comments