Skip to content

types(document): make document _id type default to unknown instead of any #2266

types(document): make document _id type default to unknown instead of any

types(document): make document _id type default to unknown instead of any #2266

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-20.04
name: Benchmark TypeScript Types
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: npm install
- run: node ./scripts/create-tarball.js
- run: npm run ts-benchmark