Skip to content

[pdfmake] add missing types from version 0.3.4 till 0.3.8#75005

Open
tmwrnr wants to merge 6 commits into
DefinitelyTyped:masterfrom
tmwrnr:pdfmake/add-policy-function-types
Open

[pdfmake] add missing types from version 0.3.4 till 0.3.8#75005
tmwrnr wants to merge 6 commits into
DefinitelyTyped:masterfrom
tmwrnr:pdfmake/add-policy-function-types

Conversation

@tmwrnr
Copy link
Copy Markdown

@tmwrnr tmwrnr commented May 15, 2026

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change.
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run pnpm test <package to test>.
  • Provide a URL to documentation or source code which provides context for the suggested changes: URL access policy
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

I did not update the version in the package.json because currently it is set to 0.3.9999. Should I downgrade the version?

  • verticalAlignment property for table cells was added with version 0.3.4
  • snakingColumns property for columns to enable newspaper-like column flow was added with version 0.3.5
  • outlines and bookmarks for text nodes was added with version 0.3.5
  • setUrlAccessPolicy was added with version 0.3.6
  • setLocalAccessPolicy was added with version0.3.8

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented May 15, 2026

@tmwrnr Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 Most recent commit is approved by type definition owners or DT maintainers

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 75005,
  "author": "tmwrnr",
  "headCommitOid": "ff4827e6bdb60cf23d488ff922c2b3985488f059",
  "mergeBaseOid": "ca06abb4cc3399ea070c122be329a22f1c3b6800",
  "lastPushDate": "2026-05-15T10:54:12.000Z",
  "lastActivityDate": "2026-05-15T10:54:12.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "tooManyCommits": false,
  "tooManyReviews": false,
  "popularityLevel": "Popular",
  "pkgInfo": [
    {
      "name": "pdfmake",
      "kind": "edit",
      "files": [
        {
          "path": "types/pdfmake/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/pdfmake/interfaces.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/pdfmake/test/pdfmake-examples-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/pdfmake/test/pdfmake-module-server-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [
        "m1llen1um",
        "radziksh",
        "evolkmann",
        "andipaetzold",
        "nmummau",
        "jeralm",
        "kryops"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 4459157317,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Popular package This PR affects a popular package (as counted by NPM download counts). label May 15, 2026
@typescript-bot typescript-bot moved this to Waiting for Code Reviews in Pull Request Status Board May 15, 2026
@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @m1llen1um @radziksh @evolkmann @andipaetzold @nmummau @jeralm @kryops — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@tmwrnr tmwrnr changed the title [pdfmake] add missing Node.js-only type definitions for setUrlAccessPolicy and setLocalAccessPolicy [pdfmake] add missing types from version 0.3.4 till 0.3.8 May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Popular package This PR affects a popular package (as counted by NPM download counts).

Projects

Status: Waiting for Code Reviews

Development

Successfully merging this pull request may close these issues.

2 participants