{"_id":"@types/pretty-quick","_rev":"2803986","name":"@types/pretty-quick","description":"TypeScript definitions for pretty-quick","dist-tags":{"latest":"3.1.1","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.0","ts3.7":"3.1.0","ts3.8":"3.1.0","ts3.9":"3.1.0","ts4.0":"3.1.0","ts4.1":"3.1.0","ts4.2":"3.1.1","ts4.3":"3.1.1","ts4.4":"3.1.1","ts4.5":"3.1.1","ts4.6":"3.1.1","ts4.7":"3.1.1","ts4.8":"3.1.1","ts4.9":"3.1.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:37.000Z","created":"2020-04-13T22:38:12.691Z","3.1.1":"2022-05-12T18:32:12.139Z","3.1.0":"2021-10-28T11:32:24.503Z","2.0.2":"2021-07-08T21:03:41.535Z","2.0.1":"2021-06-11T09:02:01.106Z","2.0.0":"2020-04-13T22:38:12.691Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"versions":{"3.1.1":{"name":"@types/pretty-quick","version":"3.1.1","description":"TypeScript definitions for pretty-quick","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick","license":"MIT","contributors":[{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"scripts":{},"dependencies":{"@types/prettier":"*"},"typesPublisherContentHash":"2c048d139e796e856526cd83a76e8eda97a317f7cb4e00db0af1b5562f13c997","typeScriptVersion":"4.2","_id":"@types/pretty-quick@3.1.1","dist":{"shasum":"7a5e624e5a9ac2e3e1bec56764340b85cde894bc","size":2072,"noattachment":false,"key":"/@types/pretty-quick/-/@types/pretty-quick-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/pretty-quick/download/@types/pretty-quick-3.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-quick_3.1.1_1652380331957_0.7244077580456414"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-12T18:32:58.220Z","publish_time":1652380332139,"_cnpm_publish_time":1652380332139},"3.1.0":{"name":"@types/pretty-quick","version":"3.1.0","description":"TypeScript definitions for pretty-quick","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick","license":"MIT","contributors":[{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"scripts":{},"dependencies":{"@types/prettier":"*"},"typesPublisherContentHash":"e11cbfb06e239309d7a1d72c48927426dbd63f57c6781185f277bd5b5ad94ced","typeScriptVersion":"3.7","_id":"@types/pretty-quick@3.1.0","dist":{"shasum":"50bcfd83ecfe411883950ef6a945bed1fd85b379","size":2053,"noattachment":false,"key":"/@types/pretty-quick/-/@types/pretty-quick-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/pretty-quick/download/@types/pretty-quick-3.1.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-quick_3.1.0_1635420744366_0.10759418687931732"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:37:40.894Z","publish_time":1635420744503,"_cnpm_publish_time":1635420744503},"2.0.2":{"name":"@types/pretty-quick","version":"2.0.2","description":"TypeScript definitions for pretty-quick","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick","license":"MIT","contributors":[{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"scripts":{},"dependencies":{"@types/prettier":"*"},"typesPublisherContentHash":"8b5bd7440cb4f53e253a700b548fca0132698a3ebe8ece59b01c0468c527d1bb","typeScriptVersion":"3.7","_id":"@types/pretty-quick@2.0.2","dist":{"shasum":"003dc7880d882f86c439d2b5ff092fac5ea8c3bb","size":2060,"noattachment":false,"key":"/@types/pretty-quick/-/@types/pretty-quick-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/pretty-quick/download/@types/pretty-quick-2.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/pretty-quick_2.0.2_1625778221197_0.5231612595373172"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:37:40.038Z","publish_time":1625778221535,"_cnpm_publish_time":1625778221535},"2.0.1":{"name":"@types/pretty-quick","version":"2.0.1","description":"TypeScript definitions for pretty-quick","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick","license":"MIT","contributors":[{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"scripts":{},"dependencies":{"@types/prettier":"*"},"typesPublisherContentHash":"71025769ae7f17666a377b188f9ba0c7d24b37e7b818be707046ee311a97459b","typeScriptVersion":"3.7","_id":"@types/pretty-quick@2.0.1","dist":{"shasum":"3b630f96a16441501d292b317c9a236ebb4e83ee","size":2042,"noattachment":false,"key":"/@types/pretty-quick/-/@types/pretty-quick-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/pretty-quick/download/@types/pretty-quick-2.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/pretty-quick_2.0.1_1623402120945_0.7478562976253109"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:37:39.152Z","publish_time":1623402121106,"_cnpm_publish_time":1623402121106},"2.0.0":{"name":"@types/pretty-quick","version":"2.0.0","description":"TypeScript definitions for pretty-quick","license":"MIT","contributors":[{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/pretty-quick"},"scripts":{},"dependencies":{"@types/prettier":"*"},"typesPublisherContentHash":"fcea1b1795d340961a8ae21cdd2668398373005b951a36d5fa2fc8589a9485e3","typeScriptVersion":"2.8","_id":"@types/pretty-quick@2.0.0","dist":{"shasum":"13a71a31f7efd18be0c85ce896db97d85815ea10","size":1974,"noattachment":false,"key":"/@types/pretty-quick/-/@types/pretty-quick-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/pretty-quick/download/@types/pretty-quick-2.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/pretty-quick_2.0.0_1586817492555_0.14770603044389952"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:37:37.532Z","publish_time":1586817492691,"_cnpm_publish_time":1586817492691}},"readme":"# Installation\r\n> `npm install --save @types/pretty-quick`\r\n\r\n# Summary\r\nThis package contains type definitions for pretty-quick (https://github.com/azz/pretty-quick#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick/index.d.ts)\r\n````ts\r\n// Type definitions for pretty-quick 3.1\n// Project: https://github.com/azz/pretty-quick#readme\n// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// Minimum TypeScript Version: 4.2\n\nimport { ResolveConfigOptions } from 'prettier';\n\ndeclare namespace prettyQuick {\n    interface Options {\n        config?: ResolveConfigOptions | undefined;\n        since?: string | undefined;\n        /** @default false */\n        staged?: boolean | undefined;\n        pattern?: string | string[] | undefined;\n        /** @default true */\n        restage?: boolean | undefined;\n        /**\n         * @default 'master' | 'default'\n         */\n        branch?: string | undefined;\n        bail?: boolean | undefined;\n        check?: boolean | undefined;\n        ignorePath?: string | undefined;\n        verbose?: boolean | undefined;\n        onFoundSinceRevision?: ((name: string, revision: string) => void) | undefined;\n        onFoundChangedFiles?: ((changedFiles: string[]) => void) | undefined;\n        onPartiallyStagedFile?: ((file: string) => void) | undefined;\n        onExamineFile?: ((file: string) => void) | undefined;\n        onCheckFile?: ((file: string, isFormatted: boolean) => void) | undefined;\n        onWriteFile?: ((file: string) => void) | undefined;\n        // ...args support\n        [key: string]: any;\n    }\n\n    interface Results {\n        readonly success: boolean;\n        readonly errors: string[];\n    }\n}\n\n/**\n * Runs Prettier on your changed files.\n * Supported source control managers:\n * * Git\n * * Mercurial\n */\ndeclare function prettyQuick(currentDirectory: string, options?: prettyQuick.Options): prettyQuick.Results;\n\nexport = prettyQuick;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 12 May 2022 18:31:40 GMT\r\n * Dependencies: [@types/prettier](https://npmjs.com/package/@types/prettier)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick","license":"MIT"}