Skip to content

Commit 05ff2bf

Browse files
committed
Fix typescript errors
1 parent e15547e commit 05ff2bf

File tree

5 files changed

+42
-15
lines changed

5 files changed

+42
-15
lines changed

dist/index.js

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
const core = require('@actions/core');
2-
const github = require('@actions/github');
3-
const fs = require('fs');
4-
const glob = require('glob');
5-
const yaml = require('yaml');
1+
import core from '@actions/core';
2+
import github from '@actions/github';
63

74
import {
85
PackageCache,
@@ -11,7 +8,7 @@ import {
118
Snapshot,
129
Manifest,
1310
submitSnapshot
14-
} from '@github/dependency-submission-toolkit'
11+
} from '@github/dependency-submission-toolkit';
1512

1613
import CondaParser from './condaParser';
1714

package-lock.json

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"yaml": "^2.2.1"
3636
},
3737
"devDependencies": {
38+
"@types/glob": "^8.0.0",
3839
"@types/jest": "^29.2.6",
3940
"@vercel/ncc": "^0.36.0",
4041
"eslint": "^8.29.0",

0 commit comments

Comments
 (0)