mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import {flatten, unflatten} from "flat";
|
||||
|
||||
module TestFlatten {
|
||||
namespace TestFlatten {
|
||||
let options: {
|
||||
delimiter?: string;
|
||||
safe?: boolean;
|
||||
@@ -29,7 +29,7 @@ module TestFlatten {
|
||||
result = flatten<Target, Result>(target, options);
|
||||
}
|
||||
|
||||
module TestUnflatten {
|
||||
namespace TestUnflatten {
|
||||
let options: {
|
||||
delimiter?: string;
|
||||
object?: boolean;
|
||||
|
||||
2
flat/flat.d.ts
vendored
2
flat/flat.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module FlatTypes {
|
||||
declare namespace FlatTypes {
|
||||
interface FlattenOptions {
|
||||
delimiter?: string;
|
||||
safe?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user