@@ -69,7 +69,7 @@ describe('toTypescriptTypeDefinition', function () {
6969 timestamp : new Timestamp ( new Long ( '7218556297505931265' ) ) , // Timestamp, 17, timestamp
7070 long : new Long ( '123456789123456789' ) , // 64-bit integer, 18, long
7171 decimal : new Decimal128 (
72- Buffer . from ( [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ] )
72+ Buffer . from ( [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ] ) ,
7373 ) , // Decimal128, 19, decimal
7474 minKey : new MinKey ( ) , // Min key, -1, minKey
7575 maxKey : new MaxKey ( ) , // Max key, 127, maxKey
@@ -85,9 +85,9 @@ describe('toTypescriptTypeDefinition', function () {
8585 compressedTimeSeries : new Binary (
8686 Buffer . from (
8787 'CQCKW/8XjAEAAIfx//////////H/////////AQAAAAAAAABfAAAAAAAAAAEAAAAAAAAAAgAAAAAAAAAHAAAAAAAAAA4AAAAAAAAAAA==' ,
88- 'base64'
88+ 'base64' ,
8989 ) ,
90- 7
90+ 7 ,
9191 ) , // 7
9292 custom : new Binary ( Buffer . from ( '//8=' ) , 128 ) , // 128
9393 } ,
@@ -138,7 +138,7 @@ describe('toTypescriptTypeDefinition', function () {
138138 string?: string;
139139 symbol?: bson.BSONSymbol;
140140 timestamp?: bson.Timestamp;
141- }`
141+ }` ,
142142 ) ;
143143 } ) ;
144144
@@ -198,7 +198,7 @@ describe('toTypescriptTypeDefinition', function () {
198198 postalCode?: string;
199199 };
200200 hobbies?: string[];
201- }`
201+ }` ,
202202 ) ;
203203 } ) ;
204204
@@ -225,7 +225,7 @@ describe('toTypescriptTypeDefinition', function () {
225225 schema ,
226226 `{
227227 a?: bson.Double | number | string | boolean | null;
228- }`
228+ }` ,
229229 ) ;
230230 } ) ;
231231
@@ -245,7 +245,7 @@ describe('toTypescriptTypeDefinition', function () {
245245 `{
246246 a?: any[];
247247 b?: any[];
248- }`
248+ }` ,
249249 ) ;
250250 } ) ;
251251
@@ -275,7 +275,7 @@ describe('toTypescriptTypeDefinition', function () {
275275 };
276276 };
277277 b?: any[];
278- }`
278+ }` ,
279279 ) ;
280280 } ) ;
281281} ) ;
0 commit comments