Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
feat(types): use Config from prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
phamhongphuc committed Mar 5, 2022
1 parent ac428f7 commit 1fc0278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PrettierOptions } from './typings/prettier';
import type { Config } from 'prettier';
import os from 'os';

const isWin = os.platform() === 'win32';
const options: PrettierOptions = {
const options: Config = {
semi: true,
singleQuote: true,
tabWidth: 4,
Expand Down
8 changes: 0 additions & 8 deletions src/typings/prettier.d.ts

This file was deleted.

0 comments on commit 1fc0278

Please sign in to comment.