Skip to content

Commit 0e71491

Browse files
authored
fix: re-add interfaces (#218)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
1 parent 9387720 commit 0e71491

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"repository": "GoogleCloudPlatform/functions-framework-nodejs",
99
"main": "build/src/index.js",
10-
"types": "build/src/invoker.d.ts",
10+
"types": "build/src/functions.d.ts",
1111
"dependencies": {
1212
"body-parser": "^1.18.3",
1313
"express": "^4.16.4",

src/functions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// Type Interfaces for the Node Functions Framework.
16+
// **If changing files, please change package.json!**
17+
1518
/* eslint-disable @typescript-eslint/no-explicit-any */
1619
import * as express from 'express';
1720

0 commit comments

Comments
 (0)