Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Types: moved all TS type descriptions to ts/ in the repo root.
  • Loading branch information
jirutka committed Oct 22, 2020
commit 4559ed6910c55db44450cf30c5229383371e38ba
7 changes: 4 additions & 3 deletions auto/make
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,11 @@ benchmark: $NJS_BUILD_DIR/njs_auto_config.h \\

$NJS_BUILD_DIR/njs_benchmark

.PHONY: ts
ts:
mkdir -p $NJS_BUILD_DIR/ts
cp nginx/ts/*.ts $NJS_BUILD_DIR/ts/
cp src/ts/*.ts $NJS_BUILD_DIR/ts/
mkdir -p $NJS_BUILD_DIR/ts/njs_modules
cp ts/*.d.ts $NJS_BUILD_DIR/ts/
cp ts/njs_modules/* $NJS_BUILD_DIR/ts/njs_modules/

ts_test: ts
tsc ./test/ts/test.ts
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ts/crypto.d.ts → ts/njs_modules/crypto.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="njs_core.d.ts" />
/// <reference path="../njs_core.d.ts" />

declare module "crypto" {

Expand Down
2 changes: 1 addition & 1 deletion src/ts/fs.d.ts → ts/njs_modules/fs.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="njs_core.d.ts" />
/// <reference path="../njs_core.d.ts" />

declare module "fs" {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="njs_core.d.ts" />
/// <reference path="../njs_core.d.ts" />

declare module "querystring" {

Expand Down
File renamed without changes.