Skip to content

Commit

Permalink
Test on typescript 5.3 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Nov 8, 2023
0 parents commit 0ced37f
Show file tree
Hide file tree
Showing 9 changed files with 1,287 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build
on: [push, pull_request]

jobs:
Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16.x
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install --force
- run: npx tsc
- run: node bin
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
13 changes: 13 additions & 0 deletions bin/IMember.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IMember = void 0;
var IMember;
(function (IMember) {
function generate() {
return {
id: 0,
name: "something",
};
}
IMember.generate = generate;
})(IMember || (exports.IMember = IMember = {}));
10 changes: 10 additions & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const typia_1 = __importDefault(require("typia"));
const IMember_1 = require("./IMember");
console.log((input => {
return "object" === typeof input && null !== input && ("number" === typeof input.id && "string" === typeof input.name);
})(IMember_1.IMember.generate()));
Loading

0 comments on commit 0ced37f

Please sign in to comment.