TypeScript-STL & Samchon-Framework (#9448)

TypeScript-STL v0.9.9
Samchon Framework v1.1.0
This commit is contained in:
Jeongho Nam
2016-06-02 21:54:06 +09:00
committed by Masahiro Wakame
parent d4ab7731d3
commit 65b05d550d
7 changed files with 4119 additions and 845 deletions
@@ -0,0 +1,7 @@
/// <reference path="samchon-collection.d.ts" />
declare var global: any;
declare var require: (name: string) => any;
collection = require("samchon-collection");
console.log(collection);
+23
View File
@@ -0,0 +1,23 @@
// Type definitions for Samchon Collection v0.0.2
// Project: https://github.com/samchon/framework
// Definitions by: Jeongho Nam <http://samchon.org>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// ------------------------------------------------------------------------------------
// In Samchon Collection, merging multiple 'ts' files to a module is not possible yet.
// Instead of using "import" instruction, use such trick:
//
// <code>
// declare var global: any;
// declare var require: Function;
//
// collection = require("samchon-collection");
// let cont: collection.ArrayCollection<string> = new collection.ArrayCollection<string>();
// </code>
//
// Those declaration of global and require can be substituted by using "node.d.ts"
// ------------------------------------------------------------------------------------
/// <reference path="../samchon-framework/samchon-framework.d.ts" />
declare var collection: typeof samchon.collection;
@@ -0,0 +1,7 @@
/// <reference path="samchon-framework.d.ts" />
declare var global: any;
declare var require: any;
global["samchon"] = require("samchon-framework");
console.log(samchon);
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="samchon-library.d.ts" />
declare var global: any;
declare var require: (name: string) => any;
library = require("samchon-library");
console.log(library);
+23
View File
@@ -0,0 +1,23 @@
// Type definitions for Samchon Library v0.0.2
// Project: https://github.com/samchon/framework
// Definitions by: Jeongho Nam <http://samchon.org>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// ------------------------------------------------------------------------------------
// In Samchon Collection, merging multiple 'ts' files to a module is not possible yet.
// Instead of using "import" instruction, use such trick:
//
// <code>
// declare var global: any;
// declare var require: Function;
//
// library = require("samchon-library");
// let xml: library.XML = new library.XML();
// </code>
//
// Those declaration of global and require can be substituted by using "node.d.ts"
// ------------------------------------------------------------------------------------
/// <reference path="../samchon-framework/samchon-framework.d.ts" />
declare var library: typeof samchon.library;
+1342 -845
View File
File diff suppressed because it is too large Load Diff