UNPKG
@mychess/openings
Version:
latest (1.0.0-rc.1)
1.0.0-rc.1
Chess openings.
github.com/my-chess/openings
my-chess/openings
@mychess/openings
/
eco.d.ts
12 lines
(11 loc)
•
271 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
Fen
,
OpeningInterface
}
from
'./fen'
;
export
interface
HitOpeningInterface
{
hits
:
number
;
opening
:
OpeningInterface
; }
export
declare
class
ECO
{
fen
:
Fen
;
constructor
(
pgn
:
string
);
opening
():
OpeningInterface
;
private
closestOpening; }