Skip to content

fix(types): preserve subdocument toObject() field types when using virtuals + versionKey options #3818

fix(types): preserve subdocument toObject() field types when using virtuals + versionKey options

fix(types): preserve subdocument toObject() field types when using virtuals + versionKey options #3818

Workflow file for this run

name: TypeScript Benchmark
on:
pull_request:
paths:
- ".github/workflows/benchmark.yml"
- "package.json"
- "types/**"
- "benchmarks/typescript/**"
push:
branches:
- master
paths:
- ".github/workflows/benchmark.yml"
- "package.json"
- "types/**"
- "benchmarks/typescript/**"
permissions:
contents: read
jobs:
typescript:
runs-on: ubuntu-22.04
name: Benchmark TypeScript Types
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 22
- run: npm install
- run: node ./scripts/create-tarball.js
- run: npm run ts-benchmark