Error Using TS Version With Cloud Functions
See original GitHub issueI keep getting the same error trying to upload the functions to firebase. The errors point to the ts parts of this package.
node_modules/getstream/lib/client.d.ts:97:35 - error TS1005: ',' expected.
97 deleted_foreign_ids: Array<[id: string, time: string]>;
~
node_modules/getstream/lib/client.d.ts:97:57 - error TS1005: ';' expected.
97 deleted_foreign_ids: Array<[id: string, time: string]>;
~
node_modules/getstream/lib/client.d.ts:97:58 - error TS1131: Property or signature expected.
97 deleted_foreign_ids: Array<[id: string, time: string]>;
~
node_modules/getstream/lib/client.d.ts:97:59 - error TS1109: Expression expected.
97 deleted_foreign_ids: Array<[id: string, time: string]>;
~
node_modules/getstream/lib/client.d.ts:98:8 - error TS1109: Expression expected.
98 new: Array<Omit<Activity<ActivityType>, 'actor'> & {
~
node_modules/getstream/lib/client.d.ts:100:7 - error TS1005: '(' expected.
100 }>;
~
node_modules/getstream/lib/client.d.ts:101:12 - error TS1109: Expression expected.
101 app_id?: string;
~
node_modules/getstream/lib/client.d.ts:102:10 - error TS1109: Expression expected.
102 feed?: string;
~
node_modules/getstream/lib/client.d.ts:103:15 - error TS1109: Expression expected.
103 mark_read?: 'all' | 'current' | Array<string>;
~
node_modules/getstream/lib/client.d.ts:103:50 - error TS1005: '(' expected.
103 mark_read?: 'all' | 'current' | Array<string>;
~
node_modules/getstream/lib/client.d.ts:104:15 - error TS1109: Expression expected.
104 mark_seen?: 'all' | 'current' | Array<string>;
~
node_modules/getstream/lib/client.d.ts:104:50 - error TS1005: '(' expected.
104 mark_seen?: 'all' | 'current' | Array<string>;
~
node_modules/getstream/lib/client.d.ts:105:18 - error TS1109: Expression expected.
105 published_at?: string;
~
node_modules/getstream/lib/client.d.ts:106:1 - error TS1128: Declaration or statement expected.
106 };
~
gz#11776
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Firebase Cloud Functions TypeScript error: Unknown file ...
In my environments.ts file I added useEmulators: true . I get this error whether this property is set to true or false ....
Read more >Use TypeScript for Cloud Functions - Firebase
During firebase deploy , your project's index.ts is transpiled to index.js , meaning that the Cloud Functions log will output line numbers from...
Read more >Troubleshooting Cloud Functions - Google Cloud
Make sure you specify the name of your function correctly. You can always check using gcloud functions call which returns the correct 404...
Read more >@google-cloud/functions | Yarn - Package Manager
Bug Fixes · deps: Use google-gax v3.5.2 (#201 (727c86a) · Regenerated protos JS and TS definitions (#205 (c2a42c6) ...
Read more >Re: Cloud functions deploy errors
Change the version of node js to 14. ... Cloud functions deploy errors ... my functions wrong way so I just put all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ferhatelmas we usually upgrade to the last typescript version and use the latest features which is breaking for older ts compilers. @nhannah what do you think?
@rlee1990 What is your ts version ?
/cc @mahboubii would be nice to document min supported version in readme clearly 😅