File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ async function demo(db: Firestore): Promise<void> {
175
175
// ` setDoc ()` is _not_ be compatible with ` WithFieldValue <Post >` . This
176
176
// type checking prevents the caller from specifying objects with incorrect
177
177
// properties or property values.
178
- // @ts-expect-error "Argument of type { ttl: String ; } is not assignable to
178
+ // @ts-expect-error "Argument of type { ttl: string ; } is not assignable to
179
179
// parameter of type WithFieldValue<Post>"
180
180
await setDoc(documentRef, { ttl: 'The Title' });
181
181
@@ -207,7 +207,7 @@ async function demo(db: Firestore): Promise<void> {
207
207
// ` updateDoc ()` is _not_ be compatible with ` WithFieldValue <PostDbModel >` .
208
208
// This type checking prevents the caller from specifying objects with
209
209
// incorrect properties or property values.
210
- // @ts-expect-error "Argument of type { title: String ; } is not assignable
210
+ // @ts-expect-error "Argument of type { title: string ; } is not assignable
211
211
// to parameter of type WithFieldValue<PostDbModel>"
212
212
await updateDoc(documentRef, { title: 'New Title' });
213
213
}
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ async function demo(db: Firestore): Promise<void> {
174
174
// ` setDoc ()` is _not_ be compatible with ` WithFieldValue <Post >` . This
175
175
// type checking prevents the caller from specifying objects with incorrect
176
176
// properties or property values.
177
- // @ts-expect-error "Argument of type { ttl: String ; } is not assignable to
177
+ // @ts-expect-error "Argument of type { ttl: string ; } is not assignable to
178
178
// parameter of type WithFieldValue<Post>"
179
179
await setDoc(documentRef, { ttl: 'The Title' });
180
180
@@ -206,7 +206,7 @@ async function demo(db: Firestore): Promise<void> {
206
206
// ` updateDoc ()` is _not_ be compatible with ` WithFieldValue <PostDbModel >` .
207
207
// This type checking prevents the caller from specifying objects with
208
208
// incorrect properties or property values.
209
- // @ts-expect-error "Argument of type { title: String ; } is not assignable
209
+ // @ts-expect-error "Argument of type { title: string ; } is not assignable
210
210
// to parameter of type WithFieldValue<PostDbModel>"
211
211
await updateDoc(documentRef, { title: 'New Title' });
212
212
}
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ import { SnapshotListenOptions } from './reference_impl';
125
125
* // `setDoc()` is _not_ be compatible with `WithFieldValue<Post>`. This
126
126
* // type checking prevents the caller from specifying objects with incorrect
127
127
* // properties or property values.
128
- * // @ts -expect-error "Argument of type { ttl: String ; } is not assignable to
128
+ * // @ts -expect-error "Argument of type { ttl: string ; } is not assignable to
129
129
* // parameter of type WithFieldValue<Post>"
130
130
* await setDoc(documentRef, { ttl: 'The Title' });
131
131
*
@@ -157,7 +157,7 @@ import { SnapshotListenOptions } from './reference_impl';
157
157
* // `updateDoc()` is _not_ be compatible with `WithFieldValue<PostDbModel>`.
158
158
* // This type checking prevents the caller from specifying objects with
159
159
* // incorrect properties or property values.
160
- * // @ts -expect-error "Argument of type { title: String ; } is not assignable
160
+ * // @ts -expect-error "Argument of type { title: string ; } is not assignable
161
161
* // to parameter of type WithFieldValue<PostDbModel>"
162
162
* await updateDoc(documentRef, { title: 'New Title' });
163
163
* }
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ import { AbstractUserDataWriter } from './user_data_writer';
123
123
* // `setDoc()` is _not_ be compatible with `WithFieldValue<Post>`. This
124
124
* // type checking prevents the caller from specifying objects with incorrect
125
125
* // properties or property values.
126
- * // @ts -expect-error "Argument of type { ttl: String ; } is not assignable to
126
+ * // @ts -expect-error "Argument of type { ttl: string ; } is not assignable to
127
127
* // parameter of type WithFieldValue<Post>"
128
128
* await setDoc(documentRef, { ttl: 'The Title' });
129
129
*
@@ -155,7 +155,7 @@ import { AbstractUserDataWriter } from './user_data_writer';
155
155
* // `updateDoc()` is _not_ be compatible with `WithFieldValue<PostDbModel>`.
156
156
* // This type checking prevents the caller from specifying objects with
157
157
* // incorrect properties or property values.
158
- * // @ts -expect-error "Argument of type { title: String ; } is not assignable
158
+ * // @ts -expect-error "Argument of type { title: string ; } is not assignable
159
159
* // to parameter of type WithFieldValue<PostDbModel>"
160
160
* await updateDoc(documentRef, { title: 'New Title' });
161
161
* }
You can’t perform that action at this time.
0 commit comments