- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
20 lines
682 B
TypeScript
20 lines
682 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
declare type Pragmas = Record<string, string | Array<string>>;
|
|
export declare function extract(contents: string): string;
|
|
export declare function strip(contents: string): string;
|
|
export declare function parse(docblock: string): Pragmas;
|
|
export declare function parseWithComments(docblock: string): {
|
|
comments: string;
|
|
pragmas: Pragmas;
|
|
};
|
|
export declare function print({ comments, pragmas, }: {
|
|
comments?: string;
|
|
pragmas?: Pragmas;
|
|
}): string;
|
|
export {};
|