{"_id":"@types/prettier-linter-helpers","_rev":"3016610","name":"@types/prettier-linter-helpers","description":"TypeScript definitions for prettier-linter-helpers","dist-tags":{"latest":"1.0.2","ts2.8":"1.0.0","ts2.9":"1.0.0","ts3.0":"1.0.0","ts3.1":"1.0.0","ts3.2":"1.0.0","ts3.3":"1.0.0","ts3.4":"1.0.0","ts3.5":"1.0.0","ts3.6":"1.0.1","ts3.7":"1.0.1","ts3.8":"1.0.1","ts3.9":"1.0.1","ts4.0":"1.0.1","ts4.1":"1.0.1","ts4.2":"1.0.1","ts4.3":"1.0.1","ts4.4":"1.0.1","ts4.5":"1.0.2","ts4.6":"1.0.2","ts4.7":"1.0.2","ts4.8":"1.0.2","ts4.9":"1.0.2","ts5.0":"1.0.2","ts5.1":"1.0.2","ts5.2":"1.0.2","ts5.3":"1.0.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:30.000Z","created":"2020-04-10T15:30:26.078Z","1.0.2":"2023-09-24T07:09:25.656Z","1.0.1":"2021-07-07T17:15:32.160Z","1.0.0":"2020-04-10T15:30:26.078Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/prettier-linter-helpers"},"versions":{"1.0.2":{"name":"@types/prettier-linter-helpers","version":"1.0.2","description":"TypeScript definitions for prettier-linter-helpers","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier-linter-helpers","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/prettier-linter-helpers"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ceaddcc3508a7bfa2a6af27cd83fc063f06b6890a1ea80ff0142c892dd78e027","typeScriptVersion":"4.5","_id":"@types/prettier-linter-helpers@1.0.2","dist":{"shasum":"4c222700389ccb76b924cca5b6e3676e7b2dcdf3","size":1945,"noattachment":false,"key":"/@types/prettier-linter-helpers/-/@types/prettier-linter-helpers-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/prettier-linter-helpers/download/@types/prettier-linter-helpers-1.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-linter-helpers_1.0.2_1695539365381_0.22559494541479386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-24T07:09:25.656Z","publish_time":1695539365656,"_source_registry_name":"default","_cnpm_publish_time":1695539365656},"1.0.1":{"name":"@types/prettier-linter-helpers","version":"1.0.1","description":"TypeScript definitions for prettier-linter-helpers","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier-linter-helpers","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/prettier-linter-helpers"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e130a182a382479767352bcded5488e9da9eb5d2bfc7a5b9184ed89f82a5e9a2","typeScriptVersion":"3.6","_id":"@types/prettier-linter-helpers@1.0.1","dist":{"shasum":"463c97a9e386fe2781026852fa97bca3dfd42625","size":1888,"noattachment":false,"key":"/@types/prettier-linter-helpers/-/@types/prettier-linter-helpers-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/prettier-linter-helpers/download/@types/prettier-linter-helpers-1.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-linter-helpers_1.0.1_1625678132037_0.5066111387570975"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T08:42:08.699Z","publish_time":1625678132160,"_cnpm_publish_time":1625678132160},"1.0.0":{"name":"@types/prettier-linter-helpers","version":"1.0.0","description":"TypeScript definitions for prettier-linter-helpers","license":"MIT","contributors":[{"name":"JounQin","url":"https://github.com/JounQin","githubUsername":"JounQin"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/prettier-linter-helpers"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"fe371f6cea6fe409dfb4bcf7c2db08fb84349a6b4b784366e3aaaf2b348d6e4a","typeScriptVersion":"2.8","_id":"@types/prettier-linter-helpers@1.0.0","dist":{"shasum":"04d307e41c3c33ecd1e1e3adc3f79cd2bd3c98e7","size":1825,"noattachment":false,"key":"/@types/prettier-linter-helpers/-/@types/prettier-linter-helpers-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/prettier-linter-helpers/download/@types/prettier-linter-helpers-1.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-linter-helpers_1.0.0_1586532625960_0.20652317063932935"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T08:42:07.859Z","publish_time":1586532626078,"_cnpm_publish_time":1586532626078}},"readme":"# Installation\r\n> `npm install --save @types/prettier-linter-helpers`\r\n\r\n# Summary\r\nThis package contains type definitions for prettier-linter-helpers (https://github.com/prettier/prettier-linter-helpers).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier-linter-helpers.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier-linter-helpers/index.d.ts)\r\n````ts\r\n// Type definitions for prettier-linter-helpers 1.0\n// Project: https://github.com/prettier/prettier-linter-helpers\n// Definitions by: JounQin <https://github.com/JounQin>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * Converts invisible characters to a commonly recognizable visible form.\n * @param str - The string with invisibles to convert.\n * @returns The converted string.\n */\nexport function showInvisibles(str: string): string;\n\nexport interface GenerateDifferences {\n    /**\n     * Generate results for differences between source code and formatted version.\n     *\n     * @param source - The original source.\n     * @param prettierSource - The Prettier formatted source.\n     * @returns An array containing { operation, offset, insertText, deleteText }\n     */\n    (source: string, prettierSource: string): Difference[];\n    INSERT: \"insert\";\n    DELETE: \"delete\";\n    REPLACE: \"replace\";\n}\n\nexport const generateDifferences: GenerateDifferences;\n\nexport interface Difference {\n    operation: \"insert\" | \"delete\" | \"replace\";\n    offset: number;\n    insertText?: string | undefined;\n    deleteText?: string | undefined;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sun, 24 Sep 2023 06:37:28 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [JounQin](https://github.com/JounQin).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier-linter-helpers","license":"MIT"}