mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
TypeScript-STL & Samchon-Framework (#9448)
TypeScript-STL v0.9.9 Samchon Framework v1.1.0
This commit is contained in:
committed by
Masahiro Wakame
parent
d4ab7731d3
commit
65b05d550d
@@ -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
@@ -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);
|
||||
+2710
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
Vendored
+23
@@ -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;
|
||||
Vendored
+1342
-845
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user