Unbound type HashMap

HashMap cannot be used as type declaration or what am I missing?

import HashMap "mo:base/HashMap";
import Text "mo:base/Text";

actor Echo {

    let test: ?HashMap<Text, Nat> = null; // => unbound type HashMap

};
1 Like

I should have wait 2 more minutes before posting :man_facepalming:

import HashMap "mo:base/HashMap";
import Text "mo:base/Text";

actor Echo {

    let test: ?HashMap.HashMap<Text, Nat> = null;

};
1 Like