mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* add saml20 typings * Fix index to meet linting requirements * Fix ParseCallback argument type * Remove weird Mac chars
5 lines
255 B
TypeScript
5 lines
255 B
TypeScript
import * as saml from "saml20";
|
|
|
|
saml.validate('', { publicKey: '', audience: '', bypassExpiration: false }, (err: Error, profile: saml.Profile) => { }); // $ExpectType void
|
|
saml.parse('', (err: Error, profile: saml.Profile) => { }); // $ExpectType void
|