Skip to content

Commit

Permalink
feat(index): export interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Oct 1, 2017
1 parent 08b2e7b commit 1718a55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cldFactory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LanguageResult } from './cldAsmModule';

export interface LanguageIdentifier {
interface LanguageIdentifier {
/**
* Finds the most likely language for the given text, along with additional
* information (e.g., probability). The prediction is based on the first N
Expand Down Expand Up @@ -48,4 +48,4 @@ interface CldFactory {
create(minBytes?: number, maxBytes?: number): LanguageIdentifier;
}

export { CldFactory };
export { LanguageIdentifier, CldFactory };
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { loadModule } from './loadModule';
export { log, enableLogger } from './util/logger';
export { ENVIRONMENT } from 'emscripten-wasm-loader';
export { LanguageIdentifier, CldFactory } from './cldFactory';
export { LanguageResult } from './cldAsmModule';

0 comments on commit 1718a55

Please sign in to comment.